102 lines
1.7 KiB
HCL
102 lines
1.7 KiB
HCL
/**
|
|
* Copyright 2022 Google LLC
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
variable "auto_create_subnetworks" {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "data_folder" {
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "delete_default_routes_on_create" {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "description" {
|
|
type = string
|
|
default = "Terraform-managed."
|
|
}
|
|
|
|
variable "dns_policy" {
|
|
type = any
|
|
default = null
|
|
}
|
|
|
|
variable "mtu" {
|
|
type = number
|
|
default = null
|
|
}
|
|
|
|
variable "peering_config" {
|
|
type = any
|
|
default = null
|
|
}
|
|
|
|
variable "psa_config" {
|
|
type = any
|
|
default = null
|
|
}
|
|
|
|
variable "routes" {
|
|
type = any
|
|
default = {}
|
|
nullable = false
|
|
}
|
|
|
|
variable "routing_mode" {
|
|
type = string
|
|
default = "GLOBAL"
|
|
}
|
|
|
|
variable "shared_vpc_host" {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "shared_vpc_service_projects" {
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "subnets" {
|
|
type = any
|
|
default = []
|
|
}
|
|
|
|
variable "subnet_iam" {
|
|
type = map(map(list(string)))
|
|
default = {}
|
|
}
|
|
|
|
variable "subnets_proxy_only" {
|
|
type = any
|
|
default = []
|
|
}
|
|
|
|
variable "subnets_psc" {
|
|
type = any
|
|
default = []
|
|
}
|
|
|
|
variable "vpc_create" {
|
|
type = bool
|
|
default = true
|
|
}
|