51 lines
1.1 KiB
Terraform
51 lines
1.1 KiB
Terraform
variable "project_id" {
|
|
description = "The GCP project ID. If not provided, the default project will be used."
|
|
type = string
|
|
nullable = true
|
|
default = null
|
|
}
|
|
|
|
variable "dns_name" {
|
|
description = "The DNS name for the managed zone."
|
|
type = string
|
|
}
|
|
|
|
variable "zone_name" {
|
|
description = "The name of the managed zone."
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "network_id" {
|
|
description = "The network ID for the managed zone."
|
|
type = string
|
|
nullable = true
|
|
default = null
|
|
}
|
|
|
|
variable "peering_network_id" {
|
|
description = "The peering network ID for the managed zone."
|
|
type = string
|
|
nullable = true
|
|
default = null
|
|
|
|
}
|
|
|
|
variable "target_name_servers" {
|
|
description = "List of target name servers for forwarding configuration"
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "resource_records" {
|
|
description = "A map of resource records to create in the DNS managed zone."
|
|
type = list(object({
|
|
name = string
|
|
type = string
|
|
ttl = number
|
|
rrdatas = list(string)
|
|
}))
|
|
default = []
|
|
}
|
|
|