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_compute_organization_security_policy_association" {
source="./modules/google-beta/r/google_compute_organization_security_policy_association"# attachment_id - (required) is a type of stringattachment_id=null# name - (required) is a type of stringname=null# policy_id - (required) is a type of stringpolicy_id=nulltimeouts=[{
create =null
delete =null
}]
}
variable"attachment_id" {
description="(required) - The resource that the security policy is attached to."type=string
}
variable"name" {
description="(required) - The name for an association."type=string
}
variable"policy_id" {
description="(required) - The security policy ID of the association."type=string
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
}
))
default=[]
}
resource"google_compute_organization_security_policy_association""this" {
# attachment_id - (required) is a type of stringattachment_id=var.attachment_id# name - (required) is a type of stringname=var.name# policy_id - (required) is a type of stringpolicy_id=var.policy_iddynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
}
}
}