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 applyOnce you are finished you can destroy everything with terraform destroy
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]"