This repository has been archived by the owner on Oct 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
52 lines (42 loc) · 1.19 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
//SHARED VARIABLES
variable "product" {
description = "Product name for Courts and Tribunal Service Centres"
default = "ctsc"
}
variable "env" {
description = "The deployment environment (sandbox, aat, prod etc..)"
}
variable "location" {
description = "The location where you would like to deploy your infrastructure"
default = "UK South"
}
variable "product_group_object_id" {
description = "Product group (dcd_group_ctsc_v2) object ID"
default = "075cc55b-c1d0-4fb9-a658-e5e0de0e13b1"
}
variable "subscription" {}
//KEY VAULT SPECIFIC VARIABLES
variable "tenant_id" {
description = "The Tenant ID of the Azure Active Directory"
}
variable "jenkins_AAD_objectId" {
description = "This is the ID of the Application you wish to give access to the Key Vault via the access policy"
}
// TAG SPECIFIC VARIABLES
variable "common_tags" {
type = map(string)
}
variable "team_contact" {
description = "The name of your Slack channel people can use to contact your team about your infrastructure"
default = "#ctsc-dev"
}
variable "managed_identity_object_id" {
default = ""
}
// LOCALS
locals {
tags = merge(
var.common_tags,
map("Team Contact", var.team_contact)
)
}