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_instance_group_named_port" {
source="./modules/google-beta/r/google_compute_instance_group_named_port"# group - (required) is a type of stringgroup=null# name - (required) is a type of stringname=null# port - (required) is a type of numberport=null# project - (optional) is a type of stringproject=null# zone - (optional) is a type of stringzone=nulltimeouts=[{
create =null
delete =null
}]
}
variable"group" {
description="(required) - The name of the instance group."type=string
}
variable"name" {
description="(required) - The name for this named port. The name must be 1-63 characters\nlong, and comply with RFC1035."type=string
}
variable"port" {
description="(required) - The port number, which can be a value between 1 and 65535."type=number
}
variable"project" {
description="(optional)"type=stringdefault=null
}
variable"zone" {
description="(optional) - The zone of the instance group."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_instance_group_named_port""this" {
# group - (required) is a type of stringgroup=var.group# name - (required) is a type of stringname=var.name# port - (required) is a type of numberport=var.port# project - (optional) is a type of stringproject=var.project# zone - (optional) is a type of stringzone=var.zonedynamic"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"]
}
}
}