You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"google_organization_iam_binding" {
source="./modules/google-beta/r/google_organization_iam_binding"# members - (required) is a type of set of stringmembers=[]
# org_id - (required) is a type of stringorg_id=null# role - (required) is a type of stringrole=nullcondition=[{
description =null
expression =null
title =null
}]
}
variable"members" {
description="(required)"type=set(string)
}
variable"org_id" {
description="(required) - The numeric ID of the organization in which you want to manage the audit logging config."type=string
}
variable"role" {
description="(required)"type=string
}
variable"condition" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
description =string
expression =string
title =string
}
))
default=[]
}
resource"google_organization_iam_binding""this" {
# members - (required) is a type of set of stringmembers=var.members# org_id - (required) is a type of stringorg_id=var.org_id# role - (required) is a type of stringrole=var.roledynamic"condition" {
for_each=var.conditioncontent {
# description - (optional) is a type of stringdescription=condition.value["description"]
# expression - (required) is a type of stringexpression=condition.value["expression"]
# title - (required) is a type of stringtitle=condition.value["title"]
}
}
}