Skip to main content
Record whether an incident.io resource is managed in the dashboard or by an external tool such as Terraform.

The managed resource object

annotations
object
required

Annotations that track metadata about this resource

Example:
managed_by
enum<string>
required

How is this resource managed

Available options:
dashboard,
terraform,
external
Example:

"terraform"

resource_id
string
required

The ID of the resource that this relates to

Example:

"abc123"

resource_type
enum<string>
required
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"

source_url
string

The url of the external repository where this resource is managed (if there is one)

Example:

"https://github.com/my-company/infrastructure"