You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to set a local of atlantis_skip set to true in the top-level terragrunt.hcl file so that we can do fine-grained opt-in against specific environment/service for Atlantis plans. This works as intended when I add the following to environments/aws_account_1/aws_region_1/environment_1/service_1/terragrunt.hcl:
locals {
atlantis_skip=false
}
To Reproduce
Add the same block to environments/aws_account_1/aws_region_1/environment_2/service_1/terragrunt.hcl.
Expected behavior
No errors. I expected the Atlantis config to generate successfully.
Actual behavior
I start getting errors from Atlantis during the execution of terragrunt-atlantis-config:
ERRO[0002] Could not convert include to the execution context to evaluate additional locals in file /git/environments/aws_account_1/aws_region_1/environment_1/service_1/terragrunt.hcl
ERRO[0002] Encountered error while evaluating locals in file /git/environments/aws_account_1/aws_region_1/environment_1/service_1/terragrunt.hcl
The text was updated successfully, but these errors were encountered:
Bug report
We have the following structure:
We are trying to set a
local
ofatlantis_skip
set totrue
in the top-levelterragrunt.hcl
file so that we can do fine-grained opt-in against specific environment/service for Atlantis plans. This works as intended when I add the following toenvironments/aws_account_1/aws_region_1/environment_1/service_1/terragrunt.hcl
:To Reproduce
Add the same block to
environments/aws_account_1/aws_region_1/environment_2/service_1/terragrunt.hcl
.Expected behavior
No errors. I expected the Atlantis config to generate successfully.
Actual behavior
I start getting errors from Atlantis during the execution of
terragrunt-atlantis-config
:The text was updated successfully, but these errors were encountered: