-
Notifications
You must be signed in to change notification settings - Fork 17
/
vars.tf
41 lines (40 loc) · 886 Bytes
/
vars.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
variable "admin" {
description = "Default user with root access"
type = "map"
default = {
name = "terraform"
public_key = ""
}
}
variable "namespace" {
description = "Prefix for resource names"
}
variable "name" {
description = "Name of the service"
}
variable "location" {
description = "Resource location. To see full list run 'az account list-locations'"
}
variable "cidr" {
default = "10.0.0.0/16"
}
variable "subnet" {
default = "10.0.1.0/24"
}
variable "vm_size" {
description = "Size of the vm. To see full list run 'az vm list-sizes'"
}
variable "vm_disk_type" {
description = "Storage class. Can be Standard_LRS or Premium_LRS"
default = "Standard_LRS"
}
variable "os" {
description = "Disk image with preinstalled OS"
type = "map"
default = {
publisher = "OpenLogic"
offer = "CentOS"
sku = "7.4"
version = "latest"
}
}