Terraform Cloud
Receive run notifications and log infrastructure changes to correlate with incidents.
Quick Setup
Copy Webhook URL
Go to your Alert24 dashboard and copy the webhook URL for Terraform Cloud.
Configure Terraform Cloud
Add the webhook URL in your Terraform Cloud settings.
Auto-Detected
Alert24 auto-detects Terraform Cloud payloads and maps them to incidents.
Step-by-Step Setup Instructions
Terraform Cloud Webhook Setup
Example Webhook Payload
This is a sample payload that Terraform Cloud sends to Alert24 when an alert fires.
{
"payload_version": 1,
"notification_configuration_id": "nc-abc123",
"run_url": "https://app.terraform.io/app/org/workspaces/prod/runs/run-abc123",
"run_id": "run-abc123",
"workspace_name": "production",
"organization_name": "my-org",
"notifications": [
{
"message": "Run errored in workspace production",
"trigger": "run:errored",
"run_status": "errored",
"run_updated_at": "2024-01-15T10:30:00Z"
}
]
}How Alert24 Maps Terraform Cloud Data
Status Field
notifications.0.trigger
Message Field
notifications.0.message
Auto-Create Incidents
Yes
Auto-Resolve Incidents
Yes
Status Mapping
| Alert24 Status | Terraform Cloud Values |
|---|---|
| operational | run:completed |
| down | run:errored |
Track Infrastructure Changes from Terraform
Track changes for incident correlation and AI root cause analysis
- 1Configure a Terraform Cloud notification webhook pointing to your Alert24 Changes Webhook URL
- 2Or add a local-exec provisioner to your Terraform config
# Add to your Terraform config:
resource "null_resource" "alert24" {
triggers = { always = timestamp() }
provisioner "local-exec" {
command = <<-EOT
curl -s -X POST "$ALERT24_CHANGES_URL" \\
-H "Content-Type: application/json" \\
-d '{
"summary": "Terraform apply completed",
"change_type": "infrastructure",
"source": "terraform",
"changed_by": "'$(whoami)'"
}'
EOT
}
}Changes are logged per service. Copy the Changes Webhook URL from your service page in Alert24. When an incident occurs, recent changes are surfaced automatically with AI-powered root cause analysis. Learn more →
Connect Terraform Cloud to Alert24 in minutes
Free plan includes 5 monitors, 1 status page, and incident management. No credit card required.
More CI/CD & DevOps Integrations
GitHub
InboundLog pull request merges, pushes, and releases as changes for incident correlation.
GitHub Actions
InboundReceive workflow run notifications and log deployments as changes to correlate with incidents.
GitLab CI
InboundReceive pipeline notifications and log deployments as changes to correlate with incidents.
CircleCI
InboundReceive job notifications and log deployments as changes to correlate with incidents.
Jenkins
InboundReceive build notifications and log deployments as changes to correlate with incidents.
Azure DevOps
InboundReceive pipeline and release notifications and log deployments as changes for incident correlation.