variable "hub" { type = object({ name = string zone = string project = string cidr = string }) } variable "spoke" { type = object({ name = 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) } # Wireguard settings variable "wireguard" { type = object({ address_space = string private_key = string public_key = string remote_public_key = string remote_address_space = string }) sensitive = true nullable = true default = null }