-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
72 lines (58 loc) · 1.68 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
variable "name" {
description = "A unique name that identifies the purpose of this Resource Group."
}
variable "location" {
description = "The Azure location to create all resources in."
}
variable "subnet_id" {
description = "The Azure Id of the Azure Subnet to use when creating the Virtual Machines."
}
variable "username" {
description = "The admin username for the Virtual Machines."
}
variable "password" {
description = "The admin password for the Virtual Machines. The password must meet the complexity requirements of Azure."
}
locals {
module_name = "${var.name}-dataserver"
}
variable "vm_count" {
default = 1
type = string
description = "The number of VMs to provision"
}
variable "os" {
default = "OpenLogic:CentOS:7.3:latest"
type = string
description = "The Marketplace image information in the following format: Offer:Publisher:Sku:Version"
}
variable "size" {
default = "Standard_D1_v2"
type = string
description = "VM SKU to provision"
}
variable "disk_os_sku" {
default = "Standard_LRS"
type = string
description = "Managed disk SKU for the OS disk"
}
variable "disk_data_sku" {
default = "Standard_LRS"
type = string
description = "Managed disk SKU for the Data disk"
}
variable "disk_data_size_gb" {
default = 32
type = string
description = "The size of the data disk"
}
variable "delete_os_disk_on_termination" {
default = false
type = string
description = "Flag to delete OS disk on VM destroy"
}
variable "delete_data_disks_on_termination" {
default = false
type = string
description = "Flag to delete Data disks on VM destroy"
}