98 lines
1.3 KiB
HCL
98 lines
1.3 KiB
HCL
variable "project_id" {
|
|
type = string
|
|
}
|
|
|
|
variable "name" {
|
|
type = string
|
|
}
|
|
|
|
variable "ipv4_gateway" {
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "ipv4_nameservers" {
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "ipv4_prefix" {
|
|
type = string # CIDR, only for NON-routed nets
|
|
default = null
|
|
}
|
|
|
|
variable "ipv4_prefix_length" {
|
|
type = number # e.g. 24
|
|
default = null
|
|
}
|
|
|
|
variable "ipv6_gateway" {
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "ipv6_nameservers" {
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "ipv6_prefix" {
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "ipv6_prefix_length" {
|
|
type = number
|
|
default = null
|
|
}
|
|
|
|
variable "labels" {
|
|
type = map(string)
|
|
default = {}
|
|
}
|
|
|
|
variable "no_ipv4_gateway" {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "no_ipv6_gateway" {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "routed" {
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "nic_allowed_addresses" {
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "nic_ipv4" {
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "nic_labels" {
|
|
type = map(string)
|
|
default = {}
|
|
}
|
|
|
|
variable "nic_name" {
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "nic_security" {
|
|
type = bool
|
|
default = false
|
|
nullable = false
|
|
}
|
|
|
|
variable "nic_security_group_ids" {
|
|
type = list(string)
|
|
default = []
|
|
}
|