This repo is used to manage the Sparkbox Main AWS account using Terraform.
brew install terraform
cp local.example.tfvars local.auto.tfvars
- Update the variables in
local.auto.tfvars
accordingly terraform init
terraform plan
We use Terraform Cloud to execute our infrastructure. Commits to main will automatically be Planned and, if successful, Applied.
Updates to our aws infrastucture should happen by making a PR to this repo.
You can validate
changes and see the outcome of plan
, but you cannot
apply
, because it will impact our primary account. Instead, it is
recommended you test modules independently against your dev sandbox.