Sen descrición

Chris Mague 3a112a05ae size down for fun %!s(int64=4) %!d(string=hai) anos
.gitignore cc6511d5d5 ignore tmuxer file %!s(int64=4) %!d(string=hai) anos
.terraform-version 0077fc9141 initial %!s(int64=5) %!d(string=hai) anos
README.md 0077fc9141 initial %!s(int64=5) %!d(string=hai) anos
inputs.tf 0077fc9141 initial %!s(int64=5) %!d(string=hai) anos
maguec1.tfvars a8328daf5e better vars %!s(int64=4) %!d(string=hai) anos
main.tf 3a112a05ae size down for fun %!s(int64=4) %!d(string=hai) anos
variables.tf 7cf5f7df88 update %!s(int64=5) %!d(string=hai) anos

README.md

Example of calling modules to build an RE environment

Prerequisites

  • aws-cli
  • tfenv
  • ansible

Generate Key Pair

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