Skip to content

Commit

Permalink
fix: iam_role statement can't find global_values.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Struß <[email protected]>
  • Loading branch information
applike-ss authored and ArchiFleKs committed Oct 10, 2022
1 parent f0a0d38 commit 390256a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terragrunt/live/production/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ generate "provider-aws" {

# Use this to impersonate a role, useful for EKS when you want a role to be
# the "root" use and not a personal AWS account
# iam_role = "arn:aws:iam::${yamldecode(file("global_values.yaml"))["aws_account_id"]}:role/administrator"
# iam_role = "arn:aws:iam::${yamldecode(file(find_in_parent_folders("global_values.yaml")))["aws_account_id"]}:role/administrator"

0 comments on commit 390256a

Please sign in to comment.