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
Generate the Terragrunt configuration for an EKS cluster module that depends on a VPC module. Use the following requirements:
infrastructure/prod/eks/terragrunt.hclroot.hcl at infrastructure/env.hcl at infrastructure/prod/tfr:///terraform-aws-modules/eks/aws?version=20.8.0../vpc — needs outputs: vpc_id (string), private_subnet_ids (list of strings)../iam — needs output: eks_role_arn (string)cluster_name: "${environment}-cluster" (from env.hcl)cluster_version: "1.29"vpc_id: from vpc dependencysubnet_ids: from vpc dependencyiam_role_arn: from iam dependencyprevent_destroy = trueGenerate the complete infrastructure/prod/eks/terragrunt.hcl file.
Ensure:
root.hclmock_outputs with correct types matching the expected outputsmock_outputs_allowed_terraform_commandsprevent_destroy = true for production protectionlocal.env.locals.environment for reading from env.hcl