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_network_peering_routes_config" {
source="./modules/google-beta/r/google_compute_network_peering_routes_config"# export_custom_routes - (required) is a type of boolexport_custom_routes=null# import_custom_routes - (required) is a type of boolimport_custom_routes=null# network - (required) is a type of stringnetwork=null# peering - (required) is a type of stringpeering=null# project - (optional) is a type of stringproject=nulltimeouts=[{
create =null
delete =null
update =null
}]
}
variable"export_custom_routes" {
description="(required) - Whether to export the custom routes to the peer network."type=bool
}
variable"import_custom_routes" {
description="(required) - Whether to import the custom routes to the peer network."type=bool
}
variable"network" {
description="(required) - The name of the primary network for the peering."type=string
}
variable"peering" {
description="(required) - Name of the peering."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
update =string
}
))
default=[]
}
resource"google_compute_network_peering_routes_config""this" {
# export_custom_routes - (required) is a type of boolexport_custom_routes=var.export_custom_routes# import_custom_routes - (required) is a type of boolimport_custom_routes=var.import_custom_routes# network - (required) is a type of stringnetwork=var.network# peering - (required) is a type of stringpeering=var.peering# 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"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}