-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
48 lines (39 loc) · 1.01 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
variable "name" {
description = "Hostname for the VM."
type = string
}
variable "subnet_id" {
description = "Resource ID for a subnet."
type = string
}
variable "resource_group_name" {
description = "Name for the resource group. Required."
type = string
}
variable "size" {
description = "Azure virtual machine size. Needs to support Gen2."
default = "Standard_B2s"
}
variable "location" {
description = "Azure region."
default = "West Europe"
}
variable "tags" {
description = "Map of tags for the resources created by this module."
type = map(string)
default = {}
}
//=============================================================
variable "admin_username" {
description = "VM admin username."
default = "azureadmin"
}
variable "admin_ssh_public_key_file" {
description = "Public key file to use."
default = "~/.ssh/id_rsa.pub"
}
variable "cloud_init" {
description = "Cloud-init format YAML."
type = string
default = null
}