Skip to content

Commit

Permalink
feat: set oidc attribute condition (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneswuerbach authored Apr 12, 2024
1 parent c6b1b2c commit ee1ffa8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/with-backstage/gcp-github.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module "gh_oidc" {
"attribute.repository" = "assertion.repository"
"attribute.repository_owner" = "assertion.repository_owner"
}
attribute_condition = "attribute.repository_owner == \"${var.github_org_id}\""
sa_mapping = {
(google_service_account.sa.account_id) = {
sa_name = google_service_account.sa.name
Expand Down

0 comments on commit ee1ffa8

Please sign in to comment.