forked from trstringer/terraform-azure-linux-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.tf
73 lines (59 loc) · 1.68 KB
/
vars.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
# required variables
variable "hostname" {
description = "name of the machine to create"
}
variable "name_prefix" {
description = "unique part of the name to give to resources"
}
variable "ssh_public_key" {
description = "public key for ssh access"
}
# optional variables
variable "location" {
description = "region where the resources should exist"
default = "eastus"
}
variable "vnet_address_space" {
description = "full address space allowed to the virtual network"
default = "10.0.0.0/16"
}
variable "subnet_address_space" {
description = "the subset of the virtual network for this subnet"
default = "10.0.10.0/24"
}
variable "storage_account_type" {
description = "type of storage account"
default = "Standard_LRS"
}
variable "vm_size" {
description = "size of the vm to create"
default = "Standard_A0"
}
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 (az vm image list)"
default = "latest"
}
variable "admin_username" {
description = "administrator user name"
default = "vmadmin"
}
variable "admin_password" {
description = "administrator password (recommended to disable password auth)"
default = "notused"
}
variable "disable_password_authentication" {
description = "toggle for password auth (recommended to keep disabled)"
default = true
}