conveyor_alert_config (Resource)
The alert config resource allows you to create, update, and delete alert configs. Alert configs are used to send alerts to a list of email addresses when an Airflow task fails.
Example Usage
resource "conveyor_project" "my_project" {
  name = "my_project"
}
resource "conveyor_environment" "dev" {
  name = "dev"
}
resource "conveyor_alert_config" "my_alert_config" {
  project_id     = conveyor_project.my_project.id
  emails         = ["alerts@conveyordata.com"]
  dag_ids        = ["dag1", "dag2", "prod-*"]
  environment_id = conveyor_environment.dev.id
}
Schema
Required
- dag_ids(List of String) The list of DAG IDs to send alerts for when they fail. You can use '*' as a wildcard, like 'dag-*' to match all DAGs starting with 'dag-' or '*' to match all DAGs.
- emails(List of String) The list of emails to send alerts to.
- environment_id(String) The ID of the environment that the alert config belongs to.
- project_id(String) The ID of the project that the alert config belongs to.
Read-Only
- id(String) The unique ID of the alert config.