Complete terragrunt toolkit with generation and validation capabilities
93
93%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
You need to generate a root configuration file for a multi-environment AWS infrastructure project with the following requirements:
data-platformdev, staging, prod (each environment will have its own env.hcl)data-platform-tfstate, region eu-west-1, DynamoDB locking table data-platform-tfstate-lockarn:aws:iam::ACCOUNT_ID:role/TerraformDeployRole)>= 1.6.0>= 0.93.0errors block (not deprecated retryable_errors)First, output the Architecture Pattern Selection checklist for this project before writing any files.
Generate the root.hcl file content for this project following Pattern A (environment-agnostic root).
Verify your generated file against the Step 4 checklist items for root.hcl:
read_terragrunt_config(find_in_parent_folders("env.hcl")) in rootremote_state block has encrypt = trueerrors block used (not deprecated retryable_errors)Show what the state key path would resolve to for a module at prod/vpc/terragrunt.hcl.