Open tide-jamiegwatkin opened 1 year ago
Hi, I had the same issue and I moved my env vars from the locals section to the inputs section and it is working well now
Hi. I'm having exactly the same issue. I would prefer not to reorganize all environment variables because it means a huge effort. Why doesn't it fail in inputs and it fails in locals?
terragrunt-atlantis-config version 1.16.0
Hi there ! I have the very same issue with 1.18.0 and was able to narrow it down a bit. If a terragrunt file has a get_env() call it's working, unless it is used by another terragrunt file. So if the included terragrunt file has a get_env() call, then it seems terragrunt-atlantis-config does not provide the environment variables at all, thus the error we have.
I'll try to spend some more time debugging this and open a PR if I manage to fix it.
We're testing terragrunt-atlantis-config with the intention of using it with Atlantis but am having a strange issue where ENV vars are not being found.
When running
terragrunt-atlantis-config generate --output atlantis.yaml --autoplan --parallel --root core/eks_main/
,terragrunt-atlantis-config
fails to find any environment variable that has been defined interragrunt.hcl
.The error outputted is:
When eching the env vars in the shell I'm able to see them all e.g:
The locals defined in
/terraform/core/terragrunt.hcl
look like this:core/eks_main/terragrunt.hcl
looks like:Am I doing something wrong with this configuration?