47 lines
1023 B
Terraform
47 lines
1023 B
Terraform
variable "project_id" {
|
|
description = "The ID of the project."
|
|
type = string
|
|
}
|
|
|
|
variable "region" {
|
|
description = "The region for the resources."
|
|
type = string
|
|
default = "europe-central2"
|
|
}
|
|
|
|
variable "zone" {
|
|
description = "The zone for the resources."
|
|
type = string
|
|
default = "europe-central2-b"
|
|
}
|
|
|
|
variable "network_name" {
|
|
description = "The name of the network."
|
|
type = string
|
|
default = "dom-lab-network"
|
|
}
|
|
|
|
variable "subnet_name" {
|
|
description = "The name of the subnet."
|
|
type = string
|
|
default = "waw-default"
|
|
}
|
|
|
|
variable "subnet_cidr" {
|
|
description = "The CIDR range for the subnet."
|
|
type = string
|
|
default = "192.168.16.0/24"
|
|
}
|
|
|
|
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"
|
|
}]
|
|
}
|