Managed Resources
API endpoints for managed resources
Record whether an incident.io resource is managed in the dashboard or by an external tool such as Terraform.
The managed resource object
Annotations that track metadata about this resource
Show child attributes
Show child attributes
Example:
{ "incident.io/terraform/version": "3.0.0" }
How is this resource managed
Available options:
dashboard, terraform, external Example:
"terraform"
The ID of the resource that this relates to
Example:
"abc123"
Available options:
alert_route, alert_source, api_key, incident_form, incident_template, escalation_path, escalation_path_template, policy, schedule, schedule_sync_target, schedule_sync_rule, secret, status_page_component, status_page_structure, team_grouping_preference, workflow Example:
"alert_route"
The url of the external repository where this resource is managed (if there is one)
Example:
"https://github.com/my-company/infrastructure"
Was this page helpful?
{
"annotations": {
"incident.io/terraform/version": "3.0.0"
},
"managed_by": "terraform",
"resource_id": "abc123",
"resource_type": "alert_route",
"source_url": "https://github.com/my-company/infrastructure"
}