generated from pacroy/template-basic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
64 lines (54 loc) · 1.8 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
variable "resource_group_name" {
description = "Resource group name to provision all resources"
type = string
}
variable "ip_address" {
description = "IP address or range to allow access to the control ports of the VM. Default value is your public IP address."
type = string
default = ""
}
variable "ip_address_list" {
description = "List of IP address or range to allow access to the control ports of the VM. Specify this variable will ignore `ip_address`."
type = list(string)
default = null
}
variable "location" {
description = "The location to provision all resources. Omit to use the same location as the resource group."
type = string
default = ""
}
variable "email" {
description = "Email address for receiving notifications from Let's Encrypt. Default is `<random_id>@mailinator.com`."
type = string
default = ""
}
variable "suffix" {
description = "Suffix of all resource names. Default is a 7-char random string."
type = string
default = ""
}
variable "admin_username" {
description = "Admin username of the porvisioning VM."
type = string
default = "azureuser"
}
variable "address_space" {
description = "Virtual netowrk address space in CIDR range."
type = string
default = "172.16.0.0/16"
}
variable "size" {
description = "Virtual machine size."
type = string
default = "Standard_D2s_v5"
}
variable "allow_kubectl_from_azurecloud" {
description = "Whether to add an inbound rule to allow kubectl from AzureCloud when connecting from GitHub Actions or Azure Pipelines."
type = bool
default = true
}
variable "enable_cert_manager" {
description = "Whether to install cert-manager and Let's Encrypt cluster issuer."
type = bool
default = true
}