Skip to content

Commit

Permalink
Merge pull request #819 from ministryofjustice/fix/correct-subject-claim
Browse files Browse the repository at this point in the history
Fix incorrect subject claim for OIDC
  • Loading branch information
davidkelliott authored Oct 12, 2023
2 parents 0c0c0dd + a902df1 commit ec51525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions organisation-security/terraform/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ module "github_actions_apply_role" {

source = "github.com/ministryofjustice/modernisation-platform-github-oidc-role?ref=9d9a2d23cf569348cbdb665c979fcbaed76bb2f4" # v3.1.0

github_repositories = ["ministryofjustice/aws-root-account:ref:refs/heads/main"]
github_repositories = ["ministryofjustice/aws-root-account"]
role_name = "github-actions-apply"
policy_arns = ["arn:aws:iam::aws:policy/AdministratorAccess"]
policy_jsons = [data.aws_iam_policy_document.oidc_assume_role_apply.json]
subject_claim = "pull_request"
subject_claim = "ref:refs/heads/main"
tags = { "Name" = "GitHub Actions Apply" }

}
Expand Down

0 comments on commit ec51525

Please sign in to comment.