-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
56 lines (44 loc) · 1.05 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
# Variables
# common prefix for things, used in tags and resource group name
variable "prefix" {
default = "playground"
}
# azure location
variable "location" {
default = "eastus"
}
# source ip addresses for nsg, list of ips like ["1.1.1.1", "2.2.2.2"]
variable "nsgsourceips" {
type = "list"
}
# number of linux instances to provision
variable "linux_instances" {
default = 1
}
# number of windows instances to provision
variable "windows_instances" {
default = 0
}
# linux vm information
variable "linuxvmsize" {
default = "Standard_B1ms"
}
# storage type, i.e. Premium_LRS or Standard_LRS
variable "linuxvmdisktype" {
default = "Premium_LRS"
}
# windows vm information
variable "winvmsize" {
default = "Standard_B1ms"
}
# storage type, i.e. Premium_LRS or Standard_LRS
variable "winvmdisktype" {
default = "Premium_LRS"
}
# username, sshkey, and/or password for the linux and windows vms
variable "username" {
default = "azureuser"
}
# password for windows, or key for linux
variable "password" {}
variable "sshkey" {}