Skip to content

Commit ee1ffa8

Browse files
feat: set oidc attribute condition (#22)
1 parent c6b1b2c commit ee1ffa8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/with-backstage/gcp-github.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module "gh_oidc" {
2727
"attribute.repository" = "assertion.repository"
2828
"attribute.repository_owner" = "assertion.repository_owner"
2929
}
30+
attribute_condition = "attribute.repository_owner == \"${var.github_org_id}\""
3031
sa_mapping = {
3132
(google_service_account.sa.account_id) = {
3233
sa_name = google_service_account.sa.name

0 commit comments

Comments
 (0)