Due to the environment it manages (Bocoup-Foundation) being phased out, this code for managing its infrastructure is being archived.
our infrastructure, as code
- Install AWSCLI & Terraform
- Ensure
~/.aws/credentials
has a profile with administrative access keys that match theprofile
value insideprovider "aws" {}
for the project you want to manage (terraform/<project>/variables.tfvars
).
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.