31 lines
652 B
HCL
31 lines
652 B
HCL
variable "rg_name" {
|
|
description = "Name of the Azure resource group"
|
|
type = string
|
|
}
|
|
|
|
variable "location" {
|
|
description = "Azure region to deploy into (e.g. eastus2)"
|
|
type = string
|
|
}
|
|
|
|
variable "vm_name" {
|
|
description = "Name of the Linux VM"
|
|
type = string
|
|
}
|
|
|
|
variable "vm_size" {
|
|
description = "Azure VM SKU (e.g. Standard_B2s)"
|
|
type = string
|
|
default = "Standard_B2s"
|
|
}
|
|
|
|
variable "admin_user" {
|
|
description = "Admin username for SSH on the VM"
|
|
type = string
|
|
default = "azureuser"
|
|
}
|
|
|
|
variable "ssh_pub_key_path" {
|
|
description = "Local path to SSH public key"
|
|
type = string
|
|
} |