-
Notifications
You must be signed in to change notification settings - Fork 1
/
linux-vm-variables.tf
55 lines (45 loc) · 1.61 KB
/
linux-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
##########################################
## Linux VM with Web Server - Variables ##
##########################################
# Azure virtual machine settings #
variable "web-linux-vm-size" {
type = string
description = "Size (SKU) of the virtual machine to create"
}
variable "web-linux-license-type" {
type = string
description = "Specifies the BYOL type for the virtual machine."
default = null
}
# Azure virtual machine storage settings #
variable "web-linux-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-linux-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-linux-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-linux-admin-username" {
type = string
description = "Username for Virtual Machine administrator account"
default = ""
}
variable "web-linux-admin-password" {
type = string
description = "Password for Virtual Machine administrator account"
default = ""
}