Files
gcp-simple-lz/variables.tf
T

50 lines
786 B
Terraform

variable "hub" {
type = object({
name = string
region = string
zone = string
project = string
cidr = string
})
}
variable "spoke" {
type = object({
name = string
region = string
zone = string
project = string
cidr = string
})
}
variable "ssh" {
type = list(object({
public_key = string
ssh_user = string
}))
default = [{
public_key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID1Z96CGdoNnbazs89cdnDLDdju6UtuKAZctEAmnEaAC"
ssh_user = "slawek@1password"
}]
}
variable "vpn_external_ip" {
type = string
nullable = true
}
variable "peer_ip" {
type = string
}
variable "shared_secret" {
type = string
sensitive = true
}
variable "remote_selectors" {
type = list(string)
}