Use .env-default as a reference for the required environment variables. You can use the commands defined in the Makefile to interact with the infrastructure resources.
Currently, this process is run manually whenever we need to update the base layer of our infrastructure. These core resources remain consistent across all deployments.
The general procedures are:
- Set up your environment by creating a .env file with the following values. Note: some values may require customisation based on your specific setup.
ENVIRONMENT=(select subfolder from environments)
AWS_PROFILE=your-profile
BUCKET_NAME=(find bucket name in aws)
TF_VAR_key=state- Run
make initto initialize the Terraform project. - Run
make planto review the proposed infrastructure changes. - Once you're confident in the plan and understand its impact, execute
make applyto apply the changes.