Created
December 6, 2019 12:31
-
-
Save kpatnayakuni/44bfb4e3ae2eb5adc5cbc12d53c676c5 to your computer and use it in GitHub Desktop.
101-vm-simple-windows HCL configuration Variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| provider "azurerm" { | |
| version = "=1.36.0" | |
| } | |
| variable "resourceGroupName" { | |
| type = string | |
| description = "Resource Group for this deployment." | |
| } | |
| variable "location" { | |
| type = string | |
| description = "Location for all resources" | |
| } | |
| variable "adminUsername" { | |
| type = string | |
| description = "Username for the Virtual Machine." | |
| } | |
| variable "adminPassword" { | |
| type = string | |
| description = "Password for the Virtual Machine." | |
| } | |
| variable "dnsLabelPrefix" { | |
| type = string | |
| description = "Unique DNS Name for the Public IP used to access the Virtual Machine." | |
| } | |
| variable "windowsOSVersion" { | |
| type = list | |
| default = ["2016-Datacenter","2008-R2-SP1","2012-Datacenter","2012-R2-Datacenter","2016-Nano-Server","2016-Datacenter-with-Containers","2019-Datacenter"] | |
| description = "The Windows version for the VM. This will pick a fully patched image of this given Windows version." | |
| } | |
| variable "vmSize" { | |
| type = string | |
| default = "Standard_A2_v2" | |
| description = "Size of the virtual machine." | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment