Terrateam behavior can be configured via a
config.yml. This file is located in
a directory named
.terrateam at the root of your Terraform repository:
See Configuration documentation for details.
What is Terragrunt?
Terragrunt is a thin wrapper that provides extra tools for keeping your configurations DRY, working with multiple Terraform modules, and managing remote state. — https://terragrunt.gruntwork.io/
To replace all Terraform CLI commands with the Terragrunt CLI, you can specify the engine using the Terrateam configuration file. The engine configuration can be specified globally or overridden in a custom workflow.
Or in the
This might not be what you want. To learn more about Terragrunt, see their official documentation.
Gruntwork maintains an
repository for Terragrunt. This repo contains an example repository layout you can use
with Terragrunt. The following documentation will describe how to use Terragrunt
and Terrateam together with the
infrastructure-live example repository as a foundation.
Import the example repository
- Export your
organization/repositorycombination that you want to use for your Terragrunt code
- Create the new repository
- Clone the official
- Mirror the
infrastructure-liverepository with the
- Clone your new
- Set the default branch back to
- Create the Terrateam GitHub Workflow file
- Create a custom Terrateam configuration file
- Commit and push your changes
- Complete the Cloud Provider Setup
for your new
infrastructure-live example repository will pull modules in from the
repository found here.
See the envcommon
terragrunt.hcl files for the
You can continue to use this repository but it’s recommended to mirror the repository into your GitHub organization
and reference the new URL in your
Start making changes
Now you can make changes and pull requests with your new
infrastructure-live repository using Terragrunt.