-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
49 lines (48 loc) · 1.32 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
#
# Variables for all resources
#
variable "resource_group_name" {
description = "The resource group to use"
type = string
}
variable "location" {
description = "The location to use"
type = string
}
variable "resource_tags" {
description = "Tags to assign to all resources created by this module"
type = map(string)
}
#
# Variables for virtual machine resources
#
variable "machine_name" {
description = "The name to assign to the virtual machine"
type = string
}
variable "primary_subnet_id" {
description = "The primary subnet (typically PUBLIC) to assign to the virtual machine"
type = string
}
variable "network_security_group_id" {
description = "The network security group to assign to the virtual machine"
type = string
}
variable "machine_size" {
description = "The machine size to assign the virtual machine"
type = string
}
variable "admin_username" {
description = "The admin username to assign the virtual machine"
type = string
default = "ubuntu"
}
variable "admin_public_key_path" {
description = "The filepath of the SSH public key to assign to the virtual machine"
type = string
}
variable "public_ip_address_id" {
description = "ID of the public address IP to the virtual machine"
type = string
default = null
}