Code used for the "IAC with terraform" talk
- Download and install Terraform 0.11.5.
- Open an AWS account if you don't have one.
- Follow these instructions to create an access key.
- Create and open the
~/.aws/credentialsfile in your computer. - Add the following to
~/.aws/credentials:
Note: $ aws configure --profile profile
[default]
aws_access_key_id = < Replace with you access key id >
aws_secret_access_key = < Replace with you secret access key >
Note: Deploying this infrastructure could incur some AWS costs. Make sure you destroy the infrastructure at the end
- Run
terraform apply - Review changes and answer
yes
- Run
terraform destroy - Review changes and answer
yes