Skip to content

Commit

Permalink
fix: key the sid so they are unique
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeyheath authored Apr 30, 2024
1 parent 0b8e79f commit 219cc4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws-iam-role-github-action/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data "aws_iam_policy_document" "assume_role" {
for_each = var.authorized_github_repos

content {
sid = "AllowGithubActionsToAssumeRole"
sid = "AllowGithubActionsToAssumeRole${statement.key}"
principals {
type = "Federated"
identifiers = [local.idp_arn]
Expand Down

0 comments on commit 219cc4c

Please sign in to comment.