Skip to content

Commit

Permalink
feat: Allow changing iss for the github oidc role (#507)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Kohout <tomas.kohout@merck.com>
Co-authored-by: Tomas Kohout <tomas.kohout@merck.com>
  • Loading branch information
TomasKohout and Tomas Kohout authored Aug 5, 2024
1 parent 017c21a commit 56e4364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/iam-github-oidc-role/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ data "aws_iam_policy_document" "this" {

condition {
test = "ForAllValues:StringEquals"
variable = "token.actions.githubusercontent.com:iss"
values = ["https://token.actions.githubusercontent.com"]
variable = "${local.provider_url}:iss"
values = ["https://${local.provider_url}"]
}

condition {
Expand Down

0 comments on commit 56e4364

Please sign in to comment.