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_network_endpoint_group" {
source="./modules/google-beta/r/google_compute_region_network_endpoint_group"# description - (optional) is a type of stringdescription=null# name - (required) is a type of stringname=null# network_endpoint_type - (optional) is a type of stringnetwork_endpoint_type=null# project - (optional) is a type of stringproject=null# region - (required) is a type of stringregion=nullapp_engine=[{
service =null
url_mask =null
version =null
}]
cloud_function=[{
function =null
url_mask =null
}]
cloud_run=[{
service =null
tag =null
url_mask =null
}]
timeouts=[{
create =null
delete =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="(optional) - Type of network endpoints in this network endpoint group. Defaults to SERVERLESS Default value: \"SERVERLESS\" Possible values: [\"SERVERLESS\"]"type=stringdefault=null
}
variable"project" {
description="(optional)"type=stringdefault=null
}
variable"region" {
description="(required) - A reference to the region where the Serverless NEGs Reside."type=string
}
variable"app_engine" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
service =string
url_mask =string
version =string
}
))
default=[]
}
variable"cloud_function" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
function =string
url_mask =string
}
))
default=[]
}
variable"cloud_run" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
service =string
tag =string
url_mask =string
}
))
default=[]
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
}
))
default=[]
}
resource"google_compute_region_network_endpoint_group""this" {
# description - (optional) is a type of stringdescription=var.description# name - (required) is a type of stringname=var.name# network_endpoint_type - (optional) is a type of stringnetwork_endpoint_type=var.network_endpoint_type# project - (optional) is a type of stringproject=var.project# region - (required) is a type of stringregion=var.regiondynamic"app_engine" {
for_each=var.app_enginecontent {
# service - (optional) is a type of stringservice=app_engine.value["service"]
# url_mask - (optional) is a type of stringurl_mask=app_engine.value["url_mask"]
# version - (optional) is a type of stringversion=app_engine.value["version"]
}
}
dynamic"cloud_function" {
for_each=var.cloud_functioncontent {
# function - (optional) is a type of stringfunction=cloud_function.value["function"]
# url_mask - (optional) is a type of stringurl_mask=cloud_function.value["url_mask"]
}
}
dynamic"cloud_run" {
for_each=var.cloud_runcontent {
# service - (optional) is a type of stringservice=cloud_run.value["service"]
# tag - (optional) is a type of stringtag=cloud_run.value["tag"]
# url_mask - (optional) is a type of stringurl_mask=cloud_run.value["url_mask"]
}
}
dynamic"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"]
}
}
}