-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
40 lines (35 loc) · 1.07 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
variable "location" {
type = string
description = "The location for the resource group."
validation {
condition = contains(["eastus", "northeurope"], var.location)
error_message = "The location must be between eastus and northeurope."
}
}
variable "name_prefix" {
type = string
description = "The prefix for the resource group."
validation {
condition = length(var.name_prefix) <= 10
error_message = "The prefix must be less than 10 characters."
}
}
variable "enable_bastion" {
description = "Feature flag to control the creation of the bastion module resources"
type = bool
default = false
}
variable "bastion_admin_password" {
description = "value of the admin password for the bastion host"
type = string
sensitive = true
}
variable "enable_aks" {
description = "Feature flag to control the creation of the aks module resources"
type = bool
default = false
}
variable "ssh_public_key" {
description = "The SSH public key file to use for authentication."
type = string
}