Chris Mague 3a112a05ae size down for fun | 4 years ago | |
---|---|---|
.gitignore | 4 years ago | |
.terraform-version | 5 years ago | |
README.md | 5 years ago | |
inputs.tf | 5 years ago | |
maguec1.tfvars | 4 years ago | |
main.tf | 4 years ago | |
variables.tf | 5 years ago |
aws ec2 create-key-pair --profile redislabs --key-name maguec1 --region us-west-1 \
| jq .KeyMaterial | awk '{gsub(/\\n/,"\n")}1' | \
sed -e s/\"//g >> ~/.ssh/maguec1.pem
chmod 0600 ~/.ssh/maguec1.pem