Skip to content

Commit 87c9d1e

Browse files
fixes
1 parent 16a4f87 commit 87c9d1e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

main.tf

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,18 @@ variable "org_team_policy_mappings" {
22
type = list(object({
33
policy_name = string
44
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'"
65
}))
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+
]
717
}
818

919
variable "captain_domain" {

0 commit comments

Comments
 (0)