- Set environment variables (e.g. with
direnv
)
ARM_TENANT_ID
- Tenant IDARM_SUBSCRIPTION_ID
- Subscription ID
- Change into environment dir (e.g.
environments/prod
) - Execute plan with
terraform plan
- Deploy with
terraform apply
- Run scripts/post-deployment.sh for things that aren't achievable with Terraform currently from an environment folder (e.g.
environments/prod
)
- Copy an existing environment (e.g.
environments/prod
) to a new folder (e.g.environments/integration
) - Replace env variables for deployment if needed (see Local development, step 1)
- Set / replace values in the main.tf for noteja, module file as needed
- Create Blob Store / Storage Account to use as remote state backend (see azurerm)