-
Notifications
You must be signed in to change notification settings - Fork 11
/
vm-web-linux-variables.tf
55 lines (45 loc) · 1.65 KB
/
vm-web-linux-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
################################################
## Azure Linux VM with Web Module - Variables ##
################################################
# Azure virtual machine settings #
variable "web_vm_size" {
type = string
description = "Size (SKU) of the virtual machine to create"
}
variable "web_license_type" {
type = string
description = "Specifies the BYOL type for the virtual machine. Possible values are 'Windows_Client' and 'Windows_Server' if set"
default = null
}
# Azure virtual machine storage settings #
variable "web_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_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
}
variable "web_vm_image" {
type = map(string)
description = "Virtual machine source image information"
default = {
publisher = "Canonical"
offer = "UbuntuServer"
sku = "18.04-LTS"
version = "latest"
}
}
# Azure virtual machine OS profile #
variable "web_admin_username" {
description = "Username for Virtual Machine administrator account"
type = string
default = ""
}
variable "web_admin_password" {
description = "Password for Virtual Machine administrator account"
type = string
default = ""
}