Skip to main content

Pulumi provider for incident.io

Manage incident.io configuration as code from a Pulumi program, in TypeScript, Python or Go.

Generated from terraform-provider-incident, so anything you can manage with Terraform you can manage here.

Install

npm install @incident-io/pulumi
pip install pulumi-incident
go get github.com/incident-io/pulumi-incident/sdk/go/incident

Configure

Create an API key in Settings → API keys, then either:

pulumi config set --secret incident:apiKey inc_...
# or
export INCIDENT_API_KEY=inc_...

On a dedicated or self-hosted deployment, also set incident:endpoint.

Example

import * as incident from "@incident-io/pulumi";

const trivial = new incident.Severity("trivial", {
    name: "Trivial",
    description: "Issues causing no impact.",
    rank: 1,
});

Per-resource reference and examples in all three languages are on the Pulumi Registry page.

What you can manage

Escalation paths, schedules and schedule sync rules. Alert sources, routes and attributes. Catalog types, attributes and entries. Severities, statuses, incident roles, custom fields. Workflows, maintenance windows, policies, secrets and API keys.

Resources with Beta in the name track features still changing in the product, and their inputs may change in a minor release.

Import existing configuration

Every resource supports pulumi import:

pulumi import incident:index/severity:Severity trivial 01ABCDEF...

Importing claims the resource as managed by code, which stops it being edited in the dashboard. That claim is a write to your account, so set markImportedResourcesAsManaged to false if you would rather imports left it untouched.

Moving from the Terraform bridge

If you use pulumi package add terraform-provider incident-io/incident today, this package replaces it. Resource names and properties are the same, so your program does not change. Remove the packages entry from Pulumi.yaml, delete the generated SDK, and install the published package.

Help

CONTRIBUTING.md covers building and regenerating the SDKs.

MIT licensed. See LICENSE.

Release files for pulumi-incident 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pulumi-incident 0.1.1
File Size Uploaded
pulumi_incident-0.1.1.tar.gz 429.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pulumi-incident 0.1.1
File Interpreter ABI Platform
pulumi_incident-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 933.2 kB

Release files / pulumi_incident-0.1.1.tar.gz

Download URL pulumi_incident-0.1.1.tar.gz
Size 429.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c99e76362f41718f6256e725280aff75d9b39175210344c26243bb53ff1876d2
BLAKE2b-256 checksum
How to use checksums
6b4f9c046702caa5cd76829c9e6669fbc9a057ec8c857a40c9602594be9d2e8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release files / pulumi_incident-0.1.1-py3-none-any.whl

Download URL pulumi_incident-0.1.1-py3-none-any.whl
Size 504.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6b5566e0b8fc721c414f7f5ffc5d9b14beadbc9ef87d7043a7c18dbe1ab8cec
BLAKE2b-256 checksum
How to use checksums
5bb620af13e8f07c36563d82e3f1fc97dab6b14acead96cf7ccaf249fc46a568
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page