-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
71 lines (58 loc) · 1.79 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
variable "name_prefix" {
description = "This variable is used to name resources and is fetched from environment variable"
type = "string"
}
variable "vm_username" {
description = "This variable is used to specify VM username and is fetched from environment variable"
type = "string"
}
variable "vm_password" {
description = "This variable is used to specify VM password and is fetched from environment variable"
type = "string"
}
variable "existing_subnet_id" {
description = "Id of the existing subnet to connect the NIC to"
type = "string"
}
variable "create_new_rg" {
description = "Whether or not to create a new resource group"
default = false
}
variable "new_rg_name" {
description = "If set this will be the name of the new resource group"
default = ""
}
variable "existing_rg" {
description = "Name of the existing resource group to put the module resources in"
default = ""
}
variable "location" {
description = "Default location for the azure resource"
default = "West Europe"
}
variable "image_publisher" {
description = "Name of the publisher of the image (az vm image list)"
default = "Canonical"
}
variable "image_offer" {
description = "The name of the offer (az vm image list)"
default = "UbuntuServer"
}
variable "image_sku" {
description = "Image SKU to apply (az vm image list)"
default = "16.04-LTS"
}
variable "image_version" {
description = "Version of the image to apply"
default = "latest"
}
variable "vm_size" {
description = "Specifies the size of the virtual machine"
type = "string"
default = "Standard_A2_V2"
}
variable "custom_data" {
description = "Specifies custom data to supply to the machine (cloud-init script)"
type = "string"
default = ""
}