This repository has been archived by the owner on Nov 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
variables.tf
63 lines (46 loc) · 1.68 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
variable "prefix" {
}
variable "tags" {
}
variable "name" {
description = "(Required) Specifies the name of the Virtual Machine. Changing this forces a new resource to be created."
}
variable "resource_group_name" {
description = "(Required) Specifies the name of the Resource Group in which the Virtual Machine should exist. Changing this forces a new resource to be created."
}
variable "location" {
description = "(Required) Specifies the Azure Region where the Virtual Machine exists. Changing this forces a new resource to be created."
}
variable "network_interface_ids" {
description = "(Required) A list of Network Interface ID's which should be associated with the Virtual Machine."
type = list(string)
}
variable "primary_network_interface_id" {
description = "(Required) The primary Network Interface ID's which should be associated with the Virtual Machine. Note when using multiple NICs you must set it in the nic_object configuration"
type = string
}
variable "os" {
description = "Define if the operating system is 'Linux' or 'Windows'"
default = "Windows"
}
variable "os_profile" {
description = "(Required) A windows or Linux profile as per documentation"
}
variable "storage_image_reference" {
}
variable "storage_os_disk" {
default = null
}
variable "os_profile_secrets" {
default = null
}
variable "vm_size" {
description = "(Required) Azure VM size name, to list all images available in a regionm use : az vm list-sizes --location <region>"
}
variable "convention" {
description = "(Required) Naming convention to use."
}
variable "availability_set_id" {
description = "(Optional) resource id of availability set to use."
default = null
}