TODO A brief description of what this project does
TODO Add here libraries and tools that needs to be installed in order to run locally
- Terraform 1.5.X (or higher)
- Terragrunt 0.54.X (or higher)
- ...
Remove if useless
TODO Add here instruction about the steps needed before start contributing the repository
Install my-project with yarn
cd my-project
yarn
TODO Steps to deploy the solution in each environment (if CI pipeline just specify where is it)
It is possible to use Terragrunt to deploy the infrastructure from configuration on every environment. Please note that you will still need access to AWS Account you want to deploy the solution to.
Below the steps for deploying locally:
- Fire up a terminal into the
live/
folder - From the AWS SSO page, click on the account you want to deploy to, then click on
Access keys 🔑
- Copy the credentials and paste them in your terminal
- Export the environment variable, the list of available environments is available in the
live/_envs/
folder
export ENV={env}
- Initialize terragrunt running:
terragrunt run-all init
- If you are switching from another environment, this command may break due to your local cache, in this case run:
terragrunt run-all init --reconfigure
- Apply the configuration from the IaC code
terragrunt run-all apply