Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Select, configure, and scale Azure compute resources—VMs, App Service, AKS, and Container Apps
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
workflows/vm-creator/examples/terraform/variables.tf
1variable "subscription_id" {2type = string3}45variable "resource_group_name" {6type = string7}89variable "location" {10type = string11default = "eastus"12}1314variable "vm_name" {15type = string16}1718variable "size" {19type = string20default = "Standard_D2s_v5"21}2223variable "admin_username" {24type = string25default = "azureuser"26}2728variable "admin_public_key" {29type = string30sensitive = true31}3233variable "zone" {34type = string35default = ""36}3738variable "os_disk_type" {39type = string40default = "Premium_LRS"41}4243variable "os_disk_size_gb" {44type = number45default = 3046}4748variable "tags" {49type = map(string)50default = {}51}5253variable "ssh_source_address_prefix" {54description = "Source address prefix allowed for SSH inbound (CIDR or IP). Required — supply your public IP (e.g. \"203.0.113.42/32\") or a trusted CIDR range. \"*\" exposes port 22 to the entire internet; only pass it explicitly when you have accepted that risk."55type = string56}57