Files
gcp-simple-lz/modules/linux-vm/variables.tf
T
2025-03-30 11:31:28 +02:00

42 lines
894 B
Terraform

variable "name" {
description = "The name of the VM instance."
type = string
}
variable "machine_type" {
description = "The machine type of the VM instance."
type = string
default = "e2-micro"
}
variable "can_ip_forward" {
description = "Whether the VM instance can forward IP packets."
type = bool
default = false
}
variable "description" {
description = "The description of the VM instance."
type = string
nullable = true
default = null
}
variable "network_name" {
description = "The name of the network to attach the VM instance to."
type = string
}
variable "subnet_name" {
description = "The name of the subnet to attach the VM instance to."
type = string
}
variable "ssh" {
description = "SSH Key(s) definition"
type = list(object({
public_key = string
ssh_user = string
}))
}