-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
54 lines (43 loc) · 1.28 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
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}-webserver"
}
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 "delete_os_disk_on_termination" {
default = false
type = string
description = "Flag to delete OS disk on VM destroy"
}