33 lines
591 B
Terraform
33 lines
591 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"
|
|
}]
|
|
}
|