Skip to content

Commit 1659e76

Browse files
authored
Add-TeamEmail-based-on-Cloud-team-new-tag-policy (#2183)
* add TeamEmail based on Cloud team new tag policy * move to custom_tags * change email address * trigger the job again
1 parent 9cecfa8 commit 1659e76

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

terraform/core/02-inputs-optional.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,10 @@ variable "aws_sandbox_account_id" {
101101
type = string
102102
default = ""
103103
}
104+
105+
106+
variable "team_email" {
107+
description = "Email address for the team responsible for the service."
108+
type = string
109+
default = "[email protected]"
110+
}

terraform/core/03-input-derived.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module "tags" {
55
application = var.application
66
automation_build_url = var.automation_build_url
77
confidentiality = var.confidentiality
8-
custom_tags = merge(var.custom_tags, { TerraformWorkspace = terraform.workspace })
8+
custom_tags = merge(var.custom_tags, { TerraformWorkspace = terraform.workspace, TeamEmail = var.team_email })
99
department = var.department
1010
environment = var.environment
1111
phase = var.phase

terraform/etl/02-inputs-optional.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,9 @@ variable "production_firewall_ip" {
9494
type = string
9595
default = ""
9696
}
97+
98+
variable "team_email" {
99+
description = "Email address for the team responsible for the service."
100+
type = string
101+
default = "[email protected]"
102+
}

terraform/etl/03-input-derived.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module "tags" {
55
application = var.application
66
automation_build_url = var.automation_build_url
77
confidentiality = var.confidentiality
8-
custom_tags = merge(var.custom_tags, { TerraformWorkspace = terraform.workspace })
8+
custom_tags = merge(var.custom_tags, { TerraformWorkspace = terraform.workspace, TeamEmail = var.team_email })
99
department = var.department
1010
environment = var.environment
1111
phase = var.phase

0 commit comments

Comments
 (0)