A demo repository with an opinionated structure to manage multi-env and multi-region applications with Terragrunt.
The demo application is a simple Lambda that is triggered when an object iscreated created in an S3 bucket and copies the object into another bucket.
Lambda code is heavily inspired by the one in this AWS repost.
Note: Most of the times you would want to use S3 Replication feature to perform what the lambda in this example does, it is just a demo! :)
Along with Terraform, this repository assumes that you have all extra tools to ensure Terraforms workflow, these are:
- A Terminal emulator
- AWS CLI or a way to set up AWS credentials into your environment
- If you are using Zsh and/or Oh My Zsh we strongly recommend its AWS plugin
- Terraform and Terragrunt binaries
- This repo includes ASDF Tool Versions files
List of official links: