- Install AWSCLI & Terraform
- Ensure
~/.aws/credentials
has an entry with administrative access keys matching theprofile
for the project. The profile name can be found interraform/{project}/variables.tf
under theprovider "aws" {}
block. - For projects that integrate with GitHub.com, retrieve a valid access token
and store it in a file named
token-github.txt
located in the same directory as this document.
The most common lifecycle commands init
, plan
, and apply
have been aliased
in the project's Makefile. If more complex management is needed, just cd
into
the appropriate terraform/project/
folder and run terraform directly.
Prepare Terraform to manage the project you've specified. This must be run once before the other commands are accessible.
Compare your local configuration to the actual deployed infrastructure and prepare a plan to reconcile any differences.
After verifying plan, execute the changes.