Skip to content

Commit 32ca48b

Browse files
authored
Add email configuration to new production composer (#4084)
[#3766]
1 parent 3b44040 commit 32ca48b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

iac/cal-itp-data-infra/composer/us/environment.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ resource "google_composer_environment" "calitp-composer" {
4747
scheduler-scheduler_health_check_threshold = 120
4848
secrets-backend = "airflow.providers.google.cloud.secrets.secret_manager.CloudSecretManagerBackend"
4949
webserver-reload_on_plugin_change = "True"
50+
email-email_backend = "airflow.utils.email.send_email_smtp"
51+
email-from_email = "[email protected]"
52+
email-email_conn_id = "smtp_postmark"
53+
smtp-smtp_starttls = true
54+
smtp-smtp_mail_from = "[email protected]"
5055
}
5156

5257
pypi_packages = local.pypi_packages

0 commit comments

Comments
 (0)