-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
162 lines (135 loc) · 4.17 KB
/
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
variable "vm_name" {
type = string
description = "The name of the virtual machine."
}
variable "computer_name" {
type = string
description = "The computer name of the virtual machine."
}
variable "location" {
type = string
description = "The location where the virtual machine will be created."
}
variable "resource_group_name" {
type = string
description = "The name of the resource group where the virtual machine will be created."
}
variable "vm_size" {
type = string
description = "The size of the virtual machine."
default = "Standard_D2s_v5"
}
variable "secure_boot_enabled" {
type = bool
description = "Whether or not secure boot is enabled on the virtual machine."
default = false
}
variable "enable_automatic_updates" {
type = bool
description = "Whether or not automatic updates are enabled on the virtual machine."
default = true
}
variable "patch_assessment_mode" {
type = string
description = "The patch assessment mode for the virtual machine."
default = "ImageDefault"
}
variable "patch_mode" {
type = string
description = "The patch mode for the virtual machine."
default = "AutomaticByOS"
}
variable "provision_vm_agent" {
type = bool
description = "Whether or not the VM agent should be provisioned on the virtual machine."
default = true
}
variable "license_type" {
type = string
description = "The license type for the virtual machine."
default = "Windows_Server"
}
variable "admin_username" {
type = string
description = "The admin username for the virtual machine."
}
variable "admin_password" {
type = string
description = "The admin password for the virtual machine."
sensitive = true
}
variable "network_interface_ids" {
type = list(string)
description = "The IDs of the network interfaces attached to the virtual machine."
default = null
}
variable "availability_set_id" {
type = string
description = "The ID of the availability set that the virtual machine should be added to."
default = null
}
variable "proximity_placement_group_id" {
type = string
description = "The ID of the proximity placement group that the virtual machine should be added to."
default = null
}
variable "os_disk_name" {
type = string
description = "The name of the OS disk for the virtual machine."
default = "osdisk"
}
variable "os_disk_storage_account_type" {
type = string
description = "The storage account type for the OS disk for the virtual machine."
default = "Premium_LRS"
}
variable "os_disk_size_gb" {
type = number
description = "The size of the OS disk for the virtual machine."
default = 128
}
variable "disk_encryption_set_id" {
type = string
description = "The ID of the disk encryption set for the virtual machine."
default = null
}
variable "os_disk_caching" {
type = string
description = "The caching mode for the OS disk for the virtual machine."
default = "ReadWrite"
}
variable "source_image_version" {
type = string
description = "The version of the source image for the virtual machine."
default = "latest"
}
variable "source_image_sku" {
type = string
description = "The SKU of the source image for the virtual machine."
default = "2022-Datacenter"
}
variable "source_image_publisher" {
type = string
description = "The publisher of the source image for the virtual machine."
default = "MicrosoftWindowsServer"
}
variable "source_image_offer" {
type = string
description = "The offer of the source image for the virtual machine."
default = "WindowsServer"
}
variable "boot_diagnostics_storage_account_uri" {
type = string
description = "The URI of the storage account to use for boot diagnostics."
default = null
}
variable "identity_type" {
type = string
description = "The type of identity to assign to the virtual machine."
default = "SystemAssigned"
}
variable "tags" {
type = map(string)
description = "A map of tags to assign to the virtual machine."
default = {}
}