-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
84 lines (69 loc) · 2.07 KB
/
variables.tf
File metadata and controls
84 lines (69 loc) · 2.07 KB
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
variable "app_short_name" {
description = "Application short name (6 characters)"
type = string
}
variable "environment" {
description = "Application environment name"
type = string
}
variable "features" {
description = "Feature flags for the deployment"
type = object({
front_door = optional(bool, true)
hub_and_spoke = optional(bool, true)
private_networking = optional(bool, true)
})
}
variable "github_mi_name" {
description = "Name of the GitHub Managed Identity."
type = string
}
variable "key_vault_secrets_officer_groups" {
description = "List of Entra ID group names which will have Key Vault Secrets Officer RBAC role."
type = list(string)
}
variable "resource_group_name" {
description = "Infra resource group name"
type = string
}
variable "hub" {
description = "Hub name (dev or prod)"
type = string
}
variable "region" {
description = "The region to deploy in"
type = string
}
variable "vnet_address_space" {
description = "VNET address space. Must be unique across the hub."
type = string
}
variable "cae_zone_redundancy_enabled" {
description = "Specifies whether the Container App Environment should be zone redundant."
type = bool
}
variable "protect_keyvault" {
description = "Ability to recover the key vault or its secrets after deletion"
type = bool
default = true
}
variable "infra_key_vault_name" {
description = "Name of the infra key vault"
type = string
}
variable "infra_key_vault_rg" {
description = "Name of the infra key vault resource group"
type = string
}
variable "enable_alerting" {
description = "Whether monitoring and alerting is enabled."
type = bool
}
variable "slack_webhook_url" {
description = "slack_webhook_url is the URL used to send alerts to Slack. It should be stored as a secret in the infra key vault with the name 'slack-webhook-url'."
type = string
}
locals {
hub_vnet_rg_name = "rg-hub-${var.hub}-uks-bootstrap"
hub_vnet_name = "vnet-hub-${var.hub}-uks"
}