Skip to content

Commit

Permalink
Add new terraform field
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhav-google committed Aug 22, 2023
1 parent cdabb6f commit 73d26ed
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mmv1/products/iamworkforcepool/WorkforcePoolProvider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -312,3 +312,10 @@ properties:
values:
- :MERGE_USER_INFO_OVER_ID_TOKEN_CLAIMS
- :ONLY_ID_TOKEN_CLAIMS
- !ruby/object:Api::Type::Array
name: additionalScopes
description: |
Additional scopes to request for in the OIDC authentication request on top of scopes requested by default. By default, the `openid`, `profile` and `email` scopes that are supported by the identity provider are requested.
Each additional scope may be at most 256 characters. A maximum of 10 additional scopes may be configured.
required: false
item_type: Api::Type::String
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ resource "google_iam_workforce_pool_provider" "<%= ctx[:primary_resource_id] %>"
web_sso_config {
response_type = "CODE"
assertion_claims_behavior = "MERGE_USER_INFO_OVER_ID_TOKEN_CLAIMS"
additional_scopes = "groups"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ resource "google_iam_workforce_pool_provider" "<%= ctx[:primary_resource_id] %>"
web_sso_config {
response_type = "CODE"
assertion_claims_behavior = "MERGE_USER_INFO_OVER_ID_TOKEN_CLAIMS"
additional_scopes = "groups"
}
}
display_name = "Display name"
Expand Down

0 comments on commit 73d26ed

Please sign in to comment.