-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
49 lines (39 loc) · 894 Bytes
/
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
variable "resource_group_name" {
type = string
description = "RG to put the VM and attached resources"
}
variable "location" {
type = string
description = "Location of the VM"
}
variable "subnet_id" {
type = string
description = "Subnet ID"
}
variable "vm_name" {
type = string
description = "Name of the VM and it's attached resources. All names are prefixed"
}
variable "vm_sku" {
type = string
default = "Standard_B2als_v2"
description = "VM SKU"
}
variable "vm_username" {
type = string
default = "azadmin"
}
variable "vm_password" {
type = string
sensitive = true
}
variable "private_ip_address" {
type = string
default = null
description = "(OPTIONAL) Set static IP address"
}
variable "use_public_ip" {
type = bool
default = false
description = "Attach public IP"
}