-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
98 lines (82 loc) · 1.88 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
variable "location" {
type = string
description = "Azure Region name"
default = "Canada Central"
}
variable "name_prefix" {
type = string
description = "The virtual machine name's prefix"
default = "test-vm"
}
variable "owner" {
type = string
description = "The owner name"
default = "Allen"
}
# Compute
variable "compute_rg" {
type = any
description = "The resource group object for the compute resources"
}
variable "vm_size" {
type = string
description = "The vm size"
default = "Standard_A2_v2"
}
variable "winrm_initialization" {
type = bool
description = "The boolean whether winrm initialization will do or not"
default = true
}
variable "os_disk_storage_account_type" {
type = string
description = "The storage account type for the os disk"
default = "Standard_LRS"
}
variable "image_offer" {
type = string
description = "MS marketplace image offer"
default = "WindowsServer"
}
variable "image_publisher" {
type = string
description = "MS marketplace image publisher"
default = "MicrosoftWindowsServer"
}
variable "image_sku" {
type = string
description = "MS marketplace image sku"
default = "2019-Datacenter"
}
variable "image_version" {
type = string
description = "MS marketplace image version"
default = "latest"
}
# Storage
variable "disks" {
type = list(object({
size = number
}))
default = []
}
# Network
variable "network_rg" {
type = any
description = "The resource group object for network resources"
}
variable "virtual_network" {
type = any
description = "The virtual network object"
}
variable "subnet" {
type = any
description = "The subnet object"
}
# Credential
variable "admin_username" {
sensitive = true
}
variable "admin_password" {
sensitive = true
}