This is a high level overview of the locals.tf
file. The locals.tf file itself is heavily commented and will go into detail about individual settings if further information is required.
The locals.tf is the main file that needs to be edited to configure your infrastructure.
This variable holds the prefix of your resource names. For example, this project uses vote
as a prefix for service names.
This variable is a longer, alternative name used in the project. For example, CircleCI calls this project vote-gov
.
The name of the bootstrap
workspace in Terraform. By default, it's bootstrap
.
An object that sets commonly used applications and services (i.e. the WAF and the database), making configuration easier.
Settings for the egress proxy that is deployed to the DMZ space.
Settings for applications that aren't managed by Terraform. This is used to save pipeline variables to dynamically configure the other application.
Settings for the majority of the deployment, that is then merged into a single object
. The sub-object, all
are configurations for every environment. The other sub-objects should be the name of your Terraform workspaces.