Skip to content

Commit

Permalink
fix: updated policy statement syntax. (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuptaNavdeep1983 authored Sep 12, 2022
1 parent a237e1b commit 15df446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ data "aws_iam_policy_document" "github_actions_assume_role_policy" {

principals {
type = "AWS"
identifiers = ["arn:aws:iam::${each.key}:root"]
identifiers = ["arn:aws:iam::${statement.value}:root"]
}
}
}
Expand Down

0 comments on commit 15df446

Please sign in to comment.