Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimmytuc/iac-dry
Infrastructure as code - DRY tryout
https://github.com/jimmytuc/iac-dry
Last synced: 5 days ago
JSON representation
Infrastructure as code - DRY tryout
- Host: GitHub
- URL: https://github.com/jimmytuc/iac-dry
- Owner: jimmytuc
- Created: 2021-09-19T10:16:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-17T16:46:54.000Z (over 2 years ago)
- Last Synced: 2024-03-15T14:05:15.071Z (10 months ago)
- Language: HCL
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example deploying multiple environments for Terragrunt
This repo shows an example of how to use the modules from the `modules` repo to
deploy an Auto Scaling Group (ASG) and a Postgres DB across three environments (dev, uat, production) and two AWS accounts
(non-prod, production), all without duplicating any of the Terraform code. That's because there is just a single copy of
the Terraform code, defined in the `modules` repo, and in this repo, we solely define
`terragrunt.hcl` files that reference that code (at a specific version, too!) and fill in variables specific to each
environment.