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_region_disk_resource_policy_attachment" {
source="./modules/google-beta/r/google_compute_region_disk_resource_policy_attachment"# disk - (required) is a type of stringdisk=null# name - (required) is a type of stringname=null# project - (optional) is a type of stringproject=null# region - (optional) is a type of stringregion=nulltimeouts=[{
create =null
delete =null
}]
}
variable"disk" {
description="(required) - The name of the regional disk in which the resource policies are attached to."type=string
}
variable"name" {
description="(required) - The resource policy to be attached to the disk for scheduling snapshot\ncreation. Do not specify the self link."type=string
}
variable"project" {
description="(optional)"type=stringdefault=null
}
variable"region" {
description="(optional) - A reference to the region where the disk resides."type=stringdefault=null
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
}
))
default=[]
}
resource"google_compute_region_disk_resource_policy_attachment""this" {
# disk - (required) is a type of stringdisk=var.disk# name - (required) is a type of stringname=var.name# project - (optional) is a type of stringproject=var.project# region - (optional) is a type of stringregion=var.regiondynamic"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"]
}
}
}