Need to have:
- Go 1.13
- Terraform 0.12
- AWS account and local credential file
In app/build
make build
(or build.cmd
on Windows)
In app/deploy
terraform init
terraform apply
Go to the output URL, manually add ?name=YourName
to the URL.
In app/deploy
terraform destroy
Many thanks to Yevgeniy Brikman
For his excellent InfoQ talk Automated Testing for Terraform, Docker, Packer, Kubernetes, and More. This is a derivative of one of his examples: https://github.com/gruntwork-io/infrastructure-as-code-testing-talk.