Files
gcp-simple-lz/variables.tf
T

44 lines
823 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" {
description = "SSH Key(s) definition"
type = list(object({
public_key = string
ssh_user = string
}))
default = [{
public_key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID1Z96CGdoNnbazs89cdnDLDdju6UtuKAZctEAmnEaAC"
ssh_user = "slawek@1password"
}]
}
variable "peer_ip" {
description = "IP address of the remote peer VPN gateway"
type = string
}
variable "shared_secret" {
description = "Shared secret for the VPN tunnel"
type = string
sensitive = true
}