Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Deploy to AWS with Terraform

First set up the AWS keys in your environment.

When you run these commands it will prompt you for a Github username. From this it downloads the public keys for the user and adds them as the ssh user for the EC2 instance.

terraform init
terraform apply

Once you are finished you can destroy everything with terraform destroy

Example output

Outputs:

health_check_url = "http://44.202.90.183:8082/health-check"
phone_numbers_url = "http://44.202.90.183:8082/phone-numbers"
ip_addresses_url = "http://44.202.90.183:8082/ip-addresses"
ssh_command = "ssh [email protected]"