-
Notifications
You must be signed in to change notification settings - Fork 1
/
windows-vm-variables.tf
61 lines (52 loc) · 1.82 KB
/
windows-vm-variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
############################################
## Windows VM with Web Server - Variables ##
############################################
# Windows Web VM Admin User
variable "web-windows-admin-username" {
type = string
description = "Windows Web VM Admin User"
default = "tfadmin"
}
# Windows Web VM Admin Password
variable "web-windows-admin-password" {
type = string
description = "Windows Web VM Admin Password"
default = "S3cr3ts24"
}
# Windows web VM Virtual Machine Size
variable "web-windows-vm-size" {
type = string
description = "Windows Web VM Size"
default = "Standard_B1s"
}
variable "web-windows-delete-os-disk-on-termination" {
type = string
description = "Should the OS Disk (either the Managed Disk / VHD Blob) be deleted when the Virtual Machine is destroyed?"
default = "true" # Update for your environment
}
variable "web-windows-delete-data-disks-on-termination" {
description = "Should the Data Disks (either the Managed Disks / VHD Blobs) be deleted when the Virtual Machine is destroyed?"
type = string
default = "true" # Update for your environment
}
##############
## OS Image ##
##############
# Windows Server 2019 SKU used to build VMs
variable "windows-2019-sku" {
type = string
description = "Windows Server 2019 SKU used to build VMs"
default = "2019-Datacenter"
}
# Windows Server 2016 SKU used to build VMs
variable "windows-2016-sku" {
type = string
description = "Windows Server 2016 SKU used to build VMs"
default = "2016-Datacenter"
}
# Windows Server 2012 R2 SKU used to build VMs
variable "windows-2012-sku" {
type = string
description = "Windows Server 2012 R2 SKU used to build VMs"
default = "2012-R2-Datacenter"
}