Skip to content

Conversation

jordanconway
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Jul 29, 2025

OpenTofu plan for prod

Plan: 1 to add, 0 to change, 0 to destroy.
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+   create

OpenTofu will perform the following actions:

  # datadog_webhook.lf-incident-io will be created
+   resource "datadog_webhook" "lf-incident-io" {
+       custom_headers = (sensitive value)
+       encode_as      = "json"
+       id             = (known after apply)
+       name           = "lf-inceident-io"
+       payload        = jsonencode(
            {
+               alert_transition  = "$ALERT_TRANSITION"
+               deduplication_key = "****************************"
+               description       = "$EVENT_MSG"
+               metadata          = {
+                   alert_metric   = "$ALERT_METRIC"
+                   alert_priority = "$ALERT_PRIORITY"
+                   alert_query    = "$ALERT_QUERY"
+                   alert_scope    = "$ALERT_SCOPE"
+                   alert_status   = "$ALERT_STATUS"
+                   alert_title    = "$ALERT_TITLE"
+                   alert_type     = "$ALERT_TYPE"
+                   alert_url      = "$LINK"
+                   date           = "$DATE"
+                   event_type     = "$EVENT_TYPE"
+                   hostname       = "$HOSTNAME"
+                   id             = "$ID"
+                   last_updated   = "$LAST_UPDATED"
+                   logs_sample    = "$LOGS_SAMPLE"
+                   org            = {
+                       id   = "$ORG_ID"
+                       name = "$ORG_NAME"
                    }
+                   snapshot_url   = "$SNAPSHOT"
+                   tags           = "$TAGS"
                }
+               source_url        = "$LINK"
+               title             = "$EVENT_TITLE"
            }
        )
+       url            = "https://api.incident.io/v2/alert_events/datadog/01JKTRSFTE6H2SR4AFM4VGWZFN"
    }

Plan: 1 to add, 0 to change, 0 to destroy.

✅ Plan applied in Tofu Apply #9

@jordanconway jordanconway requested a review from zxiiro July 29, 2025 20:50
@jordanconway jordanconway merged commit f4dcc45 into main Jul 30, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants