-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
100 lines (83 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
###################################################################################
#This module allows the creation of n Windows VM with 1 NIC
###################################################################################
#Variable declaration for Module
#The target environement for the application
variable "VmEnv" {
type = string
}
#serial of the server like 10, 85, 120, 55 for naming convention
variable "VmNumber" {
type = string
}
variable "OsDiskSize" {
type = string
default = "127" #minimum supported is 127GB
}
variable "RgName" {
type = string
}
variable "RgLocation" {
type = string
}
variable "SubnetId" {
type = string
}
variable "KvId" {
type = string
}
/*
variable "Dns" {
type = list
}
*/
#The VM Size (corresponding to azure service class like D2s_v3, D4s_v3, DS1_v2, DS2_v2 etc)
variable "VmSize" {
type = string
default = "Standard_B1ms"
}
#The Availability zone reference
variable "AvZone" {
type = string
default = "1"
}
#The Managed Disk Storage tier
variable "VmStorageTier" {
type = string
default = "Premium_LRS"
}
#The VM Admin Name
variable "VmAdminName" {
type = string
default = "admlocal"
}
variable "ImagePublisherName" {
type = string
default = "MicrosoftWindowsServer"
}
variable "ImageOffer" {
type = string
default = "WindowsServer"
}
variable "ImageSku" {
type = string
default = "2019-Datacenter"
}
#Tag info
variable "EnvironmentTag" {
type = string
default = "Poc"
}
variable "OwnerTag" {
type = string
default = "Nate"
}
variable "ProvisioningModeTag" {
type = string
default = "Terraform"
}
#value is 8/15/90 days
variable "BackupRetention" {
type = string
default = "8"
}