We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c70d81f commit e391da3Copy full SHA for e391da3
terraform/etl/60-airflow-variables-and-connnections.tf
@@ -1,3 +1,25 @@
1
+### Airflow Alerts
2
+
3
+resource "aws_secretsmanager_secret" "google_chat_webhook_mapping" {
4
+ name = "airflow/variables/google_chat_webhook_mapping"
5
+ description = "Mapping of department DAG tags to Google Spaces webhooks for failure alerts."
6
+ tags = module.tags.values
7
+}
8
9
+resource "aws_secretsmanager_secret_version" "google_chat_webhook_mapping" {
10
+ secret_id = aws_secretsmanager_secret.google_chat_webhook_mapping.id
11
+ secret_string = jsonencode({
12
+ lower_department_name = "UPDATE_WITH_WEBHOOK_IN_CONSOLE"
13
+ })
14
15
16
+ lifecycle {
17
+ ignore_changes = [secret_string]
18
+ }
19
20
21
22
23
### Alloy
24
25
resource "aws_secretsmanager_secret" "alloy_api_key" {
0 commit comments