forked from Azure/terraform-azurerm-computegroup
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
106 lines (85 loc) · 2.91 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
variable "resource_group_name" {
description = "The name of the resource group in which the resources will be created"
default = "vmssrg"
}
variable "location" {
description = "The location where the resources will be created"
default = ""
}
variable "vm_size" {
default = "Standard_A0"
description = "Size of the Virtual Machine based on Azure sizing"
}
variable "vmscaleset_name" {
default = "vmscaleset"
description = "The name of the VM scale set that will be created in Azure"
}
variable "computer_name_prefix" {
default = "vmss"
description = "The prefix that will be used for the hostname of the instances part of the VM scale set"
}
variable "managed_disk_type" {
default = "Standard_LRS"
description = "Type of managed disk for the VMs that will be part of this compute group. Allowable values are 'Standard_LRS' or 'Premium_LRS'."
}
variable "admin_username" {
description = "The admin username of the VMSS that will be deployed"
default = "azureuser"
}
variable "admin_password" {
description = "The admin password to be used on the VMSS that will be deployed. The password must meet the complexity requirements of Azure"
default = ""
}
variable "ssh_key" {
description = "Path to the public key to be used for ssh access to the VM"
default = "~/.ssh/id_rsa.pub"
}
variable "nb_instance" {
description = "Specify the number of vm instances"
default = "1"
}
variable "vnet_subnet_id" {
description = "The subnet id of the virtual network on which the vm scale set will be connected"
}
variable "network_profile" {
default = "terraformnetworkprofile"
description = "The name of the network profile that will be used in the VM scale set"
}
variable "vm_os_simple" {
description = "Specify Ubuntu or Windows to get the latest version of each os"
default = ""
}
variable "vm_os_publisher" {
description = "The name of the publisher of the image that you want to deploy"
default = ""
}
variable "vm_os_offer" {
description = "The name of the offer of the image that you want to deploy"
default = ""
}
variable "vm_os_sku" {
description = "The sku of the image that you want to deploy"
default = ""
}
variable "vm_os_version" {
description = "The version of the image that you want to deploy."
default = "latest"
}
variable "vm_os_id" {
description = "The ID of the image that you want to deploy if you are using a custom image."
default = ""
}
variable "load_balancer_backend_address_pool_ids" {
description = "The id of the backend address pools of the loadbalancer to which the VM scale set is attached"
}
variable "cmd_extension" {
description = "Command to be excuted by the custom script extension"
default = "echo hello"
}
variable "tags" {
type = "map"
description = "A map of the tags to use on the resources that are deployed with this module."
default = {
source = "terraform"
}
}