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 are given the following Terragrunt configurations for an RDS module that depends on a VPC module:
File: infrastructure/prod/rds/terragrunt.hcl
include "root" {
path = find_in_parent_folders("root.hcl")
}
dependency "vpc" {
config_path = "/infrastructure/prod/vpc"
}
dependency "sg" {
config_path = "../security-groups"
mock_outputs = {
security_group_id = "sg-mock12345"
}
}
terraform {
source = "tfr:///terraform-aws-modules/rds/aws?version=6.1.0"
}
inputs = {
db_name = "appdb"
vpc_security_group_ids = [dependency.sg.outputs.security_group_id]
db_subnet_group_name = dependency.vpc.outputs.db_subnet_group_name
}Apply the Dependency Management Checklist from the terragrunt-validator skill to this file.
For each of the following checklist items, state whether it passes or fails:
For each failure, explain the risk and provide the corrected HCL.