Skip to content

Add a GitHub environment

This section guides you through setting up the GitHub environment that you use to store configuration for a single Terraform stack.

For example, if you have a Terraform stack in dev/app-treasures, you need to create an environment in your infrastructure repository called pirates-dev-app-treasures that stores the configuration for this stack.

Step 1: Create environment

Go to your infrastructure repository and navigate to Settings > Environments and click on New environment.


<iac_env>-<stack_name> (for example pirates-dev-app-treasures)