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_global_network_endpoint_group" {
source="./modules/google-beta/r/google_compute_global_network_endpoint_group"# default_port - (optional) is a type of numberdefault_port=null# description - (optional) is a type of stringdescription=null# name - (required) is a type of stringname=null# network_endpoint_type - (required) is a type of stringnetwork_endpoint_type=null# project - (optional) is a type of stringproject=nulltimeouts=[{
create =null
delete =null
}]
}
variable"default_port" {
description="(optional) - The default port used if the port number is not specified in the\nnetwork endpoint."type=numberdefault=null
}
variable"description" {
description="(optional) - An optional description of this resource. Provide this property when\nyou create the resource."type=stringdefault=null
}
variable"name" {
description="(required) - Name of the resource; provided by the client when the resource is\ncreated. The name must be 1-63 characters long, and comply with\nRFC1035. Specifically, the name must be 1-63 characters long and match\nthe regular expression '[a-z]([-a-z0-9]*[a-z0-9])?' which means the\nfirst character must be a lowercase letter, and all following\ncharacters must be a dash, lowercase letter, or digit, except the last\ncharacter, which cannot be a dash."type=string
}
variable"network_endpoint_type" {
description="(required) - Type of network endpoints in this network endpoint group. Possible values: [\"INTERNET_IP_PORT\", \"INTERNET_FQDN_PORT\"]"type=string
}
variable"project" {
description="(optional)"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_global_network_endpoint_group""this" {
# default_port - (optional) is a type of numberdefault_port=var.default_port# description - (optional) is a type of stringdescription=var.description# name - (required) is a type of stringname=var.name# network_endpoint_type - (required) is a type of stringnetwork_endpoint_type=var.network_endpoint_type# project - (optional) is a type of stringproject=var.projectdynamic"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"]
}
}
}