We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16a4f87 commit 87c9d1eCopy full SHA for 87c9d1e
main.tf
@@ -2,8 +2,18 @@ variable "org_team_policy_mappings" {
2
type = list(object({
3
policy_name = string
4
oidc_groups = list(string)
5
- description = "Each OIDC group should be in the format of 'GITHUB_ORG_NAME:GITHUB_TEAM_NAME' and the policy name should be either 'reader' or 'editor'"
6
}))
+ description = "Each OIDC group should be in the format of GITHUB_ORG_NAME:GITHUB_TEAM_NAME and the policy name should be either 'reader' or 'editor'"
7
+ default = [
8
+ {
9
+ policy_name = "reader"
10
+ oidc_groups = ["example-org:team1", "example-org:team2"]
11
+ },
12
13
+ policy_name = "editor"
14
+ oidc_groups = ["example-org:team1", "example-org:team3"]
15
+ }
16
+ ]
17
}
18
19
variable "captain_domain" {
0 commit comments