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
time=2024-05-15T08:10:46Z level=error msg=Module $module_name has finished with an error: Cannot process module Module $module_name (excluded: false, assume applied: false, dependencies: [$dependency1, $dependency2]) because one of its dependencies, Module $module_name (excluded: false, assume applied: false, dependencies: []), finished with an error: $path_to_root/terragrunt.hcl:242,50-69: Error in function call; Call to function "get_aws_account_id" failed: Error finding AWS credentials (did you set the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables?): NoCredentialProviders: no valid providers in chain. Deprecated.
Steps To Reproduce
Sorry can not push useful skeleton but the structure looks like:
So I've moved get_aws_account_id() to locals and used in inputs as variable. That looks helped.
Although it would be great to get some professional confirmation and maybe recommendations how to manage such type of cases.
The text was updated successfully, but these errors were encountered:
Describe the bug
Often error
Steps To Reproduce
Sorry can not push useful skeleton but the structure looks like:
terragrunt run-all $command
get_aws_account_id()
invocations in inputs section.Expected behavior
Terragrunt execution of 153 modules with 23 get_aws_account_id in root terragrunt root file inputs should succeed.
Nice to haves
grep by log
Versions
Additional context
So I've moved
get_aws_account_id()
to locals and used in inputs as variable. That looks helped.Although it would be great to get some professional confirmation and maybe recommendations how to manage such type of cases.
The text was updated successfully, but these errors were encountered: