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
A team is migrating their infrastructure to Terragrunt 0.93+. You are given several files from their existing setup:
File: Makefile (CI commands)
validate:
TERRAGRUNT_LOG_LEVEL=debug terragrunt run-all validate
plan:
terragrunt run-all plan --parallelism 4
apply:
terragrunt run-all applyFile: infrastructure/root.hcl
locals {
region = "eu-west-1"
}
remote_state {
backend = "s3"
config = {
bucket = "my-tf-state"
key = "${path_relative_to_include()}/terraform.tfstate"
region = local.region
encrypt = true
dynamodb_table = "tf-state-lock"
}
}
retryable_errors = [
"(?s).*Error creating.*",
"(?s).*dial tcp.*"
]File: infrastructure/dev/app/terragrunt.hcl
skip = true
include "root" {
path = find_in_parent_folders("root.hcl")
}
terraform {
source = "../../modules//app"
}Identify all deprecated syntax and commands in the files above that need to be migrated for Terragrunt 0.93+ compatibility.
For each deprecated item:
Focus specifically on: