published on Tuesday, Nov 24, 2026 by incident-io
published on Tuesday, Nov 24, 2026 by incident-io
This resource sets one attribute on a catalog entry that incident.io syncs or manages, such
as a schedule, escalation path or user. The sync owns the entry and its synced attributes,
so you can’t manage it with incident.CatalogEntry: look it up with the
incident.CatalogEntry data source instead.
Use it for attributes you added to the catalog type yourself, for example with
incident.CatalogTypeAttribute or in the incident.io web UI. Terraform writes only
this attribute, and puts it back on the next apply if someone changes it elsewhere. When
you destroy the resource, Terraform clears the attribute and leaves the entry in place.
Terraform refuses entries of any other catalog type. Those belong to whatever created them,
such as incident.CatalogEntry, incident.CatalogEntries or catalog-importer, which would
overwrite this resource’s writes.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as incident from "@incident-io/pulumi";
const schedule = incident.getCatalogType({
typeName: "Schedule",
});
const primaryOnCall = incident.getSchedule({
name: "Primary on-call",
});
// incident.io syncs a catalog entry for each schedule, with the schedule's ID as its
// external ID.
const primaryOnCallGetCatalogEntry = Promise.all([schedule, primaryOnCall]).then(([schedule, primaryOnCall]) => incident.getCatalogEntry({
catalogTypeId: schedule.id,
identifier: primaryOnCall.id,
}));
// An attribute you add to the Schedule type yourself.
const scheduleRunbook = new incident.CatalogTypeAttribute("schedule_runbook", {
catalogTypeId: schedule.then(schedule => schedule.id),
name: "Runbook",
type: "String",
});
const primaryOnCallRunbook = new incident.CatalogEntryAttributeValue("primary_on_call_runbook", {
entryId: primaryOnCallGetCatalogEntry.then(primaryOnCallGetCatalogEntry => primaryOnCallGetCatalogEntry.id),
attributeId: scheduleRunbook.id,
value: "https://runbooks.example.com/primary-on-call",
});
import pulumi
import pulumi_incident as incident
schedule = incident.get_catalog_type(type_name="Schedule")
primary_on_call = incident.get_schedule(name="Primary on-call")
# incident.io syncs a catalog entry for each schedule, with the schedule's ID as its
# external ID.
primary_on_call_get_catalog_entry = incident.get_catalog_entry(catalog_type_id=schedule.id,
identifier=primary_on_call.id)
# An attribute you add to the Schedule type yourself.
schedule_runbook = incident.CatalogTypeAttribute("schedule_runbook",
catalog_type_id=schedule.id,
name="Runbook",
type="String")
primary_on_call_runbook = incident.CatalogEntryAttributeValue("primary_on_call_runbook",
entry_id=primary_on_call_get_catalog_entry.id,
attribute_id=schedule_runbook.id,
value="https://runbooks.example.com/primary-on-call")
package main
import (
"github.com/incident-io/pulumi-incident/sdk/go/incident"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
schedule, err := incident.GetCatalogType(ctx, &incident.LookupCatalogTypeArgs{
TypeName: pulumi.StringRef("Schedule"),
}, nil)
if err != nil {
return err
}
primaryOnCall, err := incident.GetSchedule(ctx, &incident.LookupScheduleArgs{
Name: pulumi.StringRef("Primary on-call"),
}, nil)
if err != nil {
return err
}
// incident.io syncs a catalog entry for each schedule, with the schedule's ID as its
// external ID.
primaryOnCallGetCatalogEntry, err := incident.GetCatalogEntry(ctx, &incident.LookupCatalogEntryArgs{
CatalogTypeId: schedule.Id,
Identifier: primaryOnCall.Id,
}, nil)
if err != nil {
return err
}
// An attribute you add to the Schedule type yourself.
scheduleRunbook, err := incident.NewCatalogTypeAttribute(ctx, "schedule_runbook", &incident.CatalogTypeAttributeArgs{
CatalogTypeId: pulumi.String(schedule.Id),
Name: pulumi.String("Runbook"),
Type: pulumi.String("String"),
})
if err != nil {
return err
}
_, err = incident.NewCatalogEntryAttributeValue(ctx, "primary_on_call_runbook", &incident.CatalogEntryAttributeValueArgs{
EntryId: pulumi.String(primaryOnCallGetCatalogEntry.Id),
AttributeId: scheduleRunbook.ID().ToIDOutput().ToStringOutput(),
Value: pulumi.String("https://runbooks.example.com/primary-on-call"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incident = Pulumi.Incident;
return await Deployment.RunAsync(() =>
{
var schedule = Incident.GetCatalogType.Invoke(new()
{
TypeName = "Schedule",
});
var primaryOnCall = Incident.GetSchedule.Invoke(new()
{
Name = "Primary on-call",
});
// incident.io syncs a catalog entry for each schedule, with the schedule's ID as its
// external ID.
var primaryOnCallGetCatalogEntry = Incident.GetCatalogEntry.Invoke(new()
{
CatalogTypeId = schedule.Apply(getCatalogTypeResult => getCatalogTypeResult.Id),
Identifier = primaryOnCall.Apply(getScheduleResult => getScheduleResult.Id),
});
// An attribute you add to the Schedule type yourself.
var scheduleRunbook = new Incident.CatalogTypeAttribute("schedule_runbook", new()
{
CatalogTypeId = schedule.Apply(getCatalogTypeResult => getCatalogTypeResult.Id),
Name = "Runbook",
Type = "String",
});
var primaryOnCallRunbook = new Incident.CatalogEntryAttributeValue("primary_on_call_runbook", new()
{
EntryId = primaryOnCallGetCatalogEntry.Apply(getCatalogEntryResult => getCatalogEntryResult.Id),
AttributeId = scheduleRunbook.Id,
Value = "https://runbooks.example.com/primary-on-call",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incident.IncidentFunctions;
import com.pulumi.incident.inputs.GetCatalogTypeArgs;
import com.pulumi.incident.inputs.GetScheduleArgs;
import com.pulumi.incident.inputs.GetCatalogEntryArgs;
import com.pulumi.incident.CatalogTypeAttribute;
import com.pulumi.incident.CatalogTypeAttributeArgs;
import com.pulumi.incident.CatalogEntryAttributeValue;
import com.pulumi.incident.CatalogEntryAttributeValueArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var schedule = IncidentFunctions.getCatalogType(GetCatalogTypeArgs.builder()
.typeName("Schedule")
.build());
final var primaryOnCall = IncidentFunctions.getSchedule(GetScheduleArgs.builder()
.name("Primary on-call")
.build());
// incident.io syncs a catalog entry for each schedule, with the schedule's ID as its
// external ID.
final var primaryOnCallGetCatalogEntry = IncidentFunctions.getCatalogEntry(GetCatalogEntryArgs.builder()
.catalogTypeId(schedule.id())
.identifier(primaryOnCall.id())
.build());
// An attribute you add to the Schedule type yourself.
var scheduleRunbook = new CatalogTypeAttribute("scheduleRunbook", CatalogTypeAttributeArgs.builder()
.catalogTypeId(schedule.id())
.name("Runbook")
.type("String")
.build());
var primaryOnCallRunbook = new CatalogEntryAttributeValue("primaryOnCallRunbook", CatalogEntryAttributeValueArgs.builder()
.entryId(primaryOnCallGetCatalogEntry.id())
.attributeId(scheduleRunbook.id())
.value("https://runbooks.example.com/primary-on-call")
.build());
}
}
resources:
# An attribute you add to the Schedule type yourself.
scheduleRunbook:
type: incident:CatalogTypeAttribute
name: schedule_runbook
properties:
catalogTypeId: ${schedule.id}
name: Runbook
type: String
primaryOnCallRunbook:
type: incident:CatalogEntryAttributeValue
name: primary_on_call_runbook
properties:
entryId: ${primaryOnCallGetCatalogEntry.id}
attributeId: ${scheduleRunbook.id}
value: https://runbooks.example.com/primary-on-call
variables:
schedule:
fn::invoke:
function: incident:getCatalogType
arguments:
typeName: Schedule
primaryOnCall:
fn::invoke:
function: incident:getSchedule
arguments:
name: Primary on-call
# incident.io syncs a catalog entry for each schedule, with the schedule's ID as its
# external ID.
primaryOnCallGetCatalogEntry:
fn::invoke:
function: incident:getCatalogEntry
arguments:
catalogTypeId: ${schedule.id}
identifier: ${primaryOnCall.id}
pulumi {
required_providers {
incident = {
source = "pulumi/incident"
}
}
}
data "incident_getcatalogtype" "schedule" {
type_name = "Schedule"
}
data "incident_getschedule" "primaryOnCall" {
name = "Primary on-call"
}
data "incident_getcatalogentry" "primaryOnCallGetCatalogEntry" {
catalog_type_id = data.incident_getcatalogtype.schedule.id
identifier = data.incident_getschedule.primaryOnCall.id
}
# An attribute you add to the Schedule type yourself.
resource "incident_catalogtypeattribute" "schedule_runbook" {
catalog_type_id = data.incident_getcatalogtype.schedule.id
name = "Runbook"
type = "String"
}
resource "incident_catalogentryattributevalue" "primary_on_call_runbook" {
entry_id = data.incident_getcatalogentry.primaryOnCallGetCatalogEntry.id
attribute_id = incident_catalogtypeattribute.schedule_runbook.id
value = "https://runbooks.example.com/primary-on-call"
}
# incident.io syncs a catalog entry for each schedule, with the schedule's ID as its
# external ID.
Create CatalogEntryAttributeValue Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CatalogEntryAttributeValue(name: string, args: CatalogEntryAttributeValueArgs, opts?: CustomResourceOptions);@overload
def CatalogEntryAttributeValue(resource_name: str,
args: CatalogEntryAttributeValueInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CatalogEntryAttributeValue(resource_name: str,
opts: Optional[ResourceOptions] = None,
attribute_id: Optional[str] = None,
entry_id: Optional[str] = None,
array_values: Optional[Sequence[str]] = None,
value: Optional[str] = None)func NewCatalogEntryAttributeValue(ctx *Context, name string, args CatalogEntryAttributeValueArgs, opts ...ResourceOption) (*CatalogEntryAttributeValue, error)public CatalogEntryAttributeValue(string name, CatalogEntryAttributeValueArgs args, CustomResourceOptions? opts = null)
public CatalogEntryAttributeValue(String name, CatalogEntryAttributeValueArgs args)
public CatalogEntryAttributeValue(String name, CatalogEntryAttributeValueArgs args, CustomResourceOptions options)
type: incident:CatalogEntryAttributeValue
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "incident_catalog_entry_attribute_value" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CatalogEntryAttributeValueArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CatalogEntryAttributeValueInitArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CatalogEntryAttributeValueArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CatalogEntryAttributeValueArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CatalogEntryAttributeValueArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var catalogEntryAttributeValueResource = new Incident.CatalogEntryAttributeValue("catalogEntryAttributeValueResource", new()
{
AttributeId = "string",
EntryId = "string",
ArrayValues = new[]
{
"string",
},
Value = "string",
});
example, err := incident.NewCatalogEntryAttributeValue(ctx, "catalogEntryAttributeValueResource", &incident.CatalogEntryAttributeValueArgs{
AttributeId: pulumi.String("string"),
EntryId: pulumi.String("string"),
ArrayValues: pulumi.StringArray{
pulumi.String("string"),
},
Value: pulumi.String("string"),
})
resource "incident_catalog_entry_attribute_value" "catalogEntryAttributeValueResource" {
lifecycle {
create_before_destroy = true
}
attribute_id = "string"
entry_id = "string"
array_values = ["string"]
value = "string"
}
var catalogEntryAttributeValueResource = new CatalogEntryAttributeValue("catalogEntryAttributeValueResource", CatalogEntryAttributeValueArgs.builder()
.attributeId("string")
.entryId("string")
.arrayValues("string")
.value("string")
.build());
catalog_entry_attribute_value_resource = incident.CatalogEntryAttributeValue("catalogEntryAttributeValueResource",
attribute_id="string",
entry_id="string",
array_values=["string"],
value="string")
const catalogEntryAttributeValueResource = new incident.CatalogEntryAttributeValue("catalogEntryAttributeValueResource", {
attributeId: "string",
entryId: "string",
arrayValues: ["string"],
value: "string",
});
type: incident:CatalogEntryAttributeValue
properties:
arrayValues:
- string
attributeId: string
entryId: string
value: string
CatalogEntryAttributeValue Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CatalogEntryAttributeValue resource accepts the following input properties:
- Attribute
Id string - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - Entry
Id string - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - Array
Values List<string> - The values of an array attribute, each in a format suitable for its type. Set this or
value. - Value string
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
- Attribute
Id string - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - Entry
Id string - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - Array
Values []string - The values of an array attribute, each in a format suitable for its type. Set this or
value. - Value string
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
- attribute_
id string - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - entry_
id string - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - array_
values list(string) - The values of an array attribute, each in a format suitable for its type. Set this or
value. - value string
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
- attribute
Id String - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - entry
Id String - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - array
Values List<String> - The values of an array attribute, each in a format suitable for its type. Set this or
value. - value String
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
- attribute
Id string - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - entry
Id string - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - array
Values string[] - The values of an array attribute, each in a format suitable for its type. Set this or
value. - value string
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
- attribute_
id str - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - entry_
id str - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - array_
values Sequence[str] - The values of an array attribute, each in a format suitable for its type. Set this or
value. - value str
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
- attribute
Id String - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - entry
Id String - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - array
Values List<String> - The values of an array attribute, each in a format suitable for its type. Set this or
value. - value String
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
Outputs
All input properties are implicitly available as output properties. Additionally, the CatalogEntryAttributeValue resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CatalogEntryAttributeValue Resource
Get an existing CatalogEntryAttributeValue resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CatalogEntryAttributeValueState, opts?: CustomResourceOptions): CatalogEntryAttributeValue@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
array_values: Optional[Sequence[str]] = None,
attribute_id: Optional[str] = None,
entry_id: Optional[str] = None,
value: Optional[str] = None) -> CatalogEntryAttributeValuefunc GetCatalogEntryAttributeValue(ctx *Context, name string, id IDInput, state *CatalogEntryAttributeValueState, opts ...ResourceOption) (*CatalogEntryAttributeValue, error)public static CatalogEntryAttributeValue Get(string name, Input<string> id, CatalogEntryAttributeValueState? state, CustomResourceOptions? opts = null)public static CatalogEntryAttributeValue get(String name, Output<String> id, CatalogEntryAttributeValueState state, CustomResourceOptions options)resources: existingCatalogEntryAttributeValue: type: incident:CatalogEntryAttributeValue get: id: ${id}import {
to = incident_catalog_entry_attribute_value.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state CatalogEntryAttributeValueState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state CatalogEntryAttributeValueState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state CatalogEntryAttributeValueState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state CatalogEntryAttributeValueState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Array
Values List<string> - The values of an array attribute, each in a format suitable for its type. Set this or
value. - Attribute
Id string - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - Entry
Id string - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - Value string
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
- Array
Values []string - The values of an array attribute, each in a format suitable for its type. Set this or
value. - Attribute
Id string - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - Entry
Id string - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - Value string
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
- array_
values list(string) - The values of an array attribute, each in a format suitable for its type. Set this or
value. - attribute_
id string - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - entry_
id string - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - value string
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
- array
Values List<String> - The values of an array attribute, each in a format suitable for its type. Set this or
value. - attribute
Id String - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - entry
Id String - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - value String
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
- array
Values string[] - The values of an array attribute, each in a format suitable for its type. Set this or
value. - attribute
Id string - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - entry
Id string - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - value string
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
- array_
values Sequence[str] - The values of an array attribute, each in a format suitable for its type. Set this or
value. - attribute_
id str - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - entry_
id str - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - value str
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
- array
Values List<String> - The values of an array attribute, each in a format suitable for its type. Set this or
value. - attribute
Id String - The ID of the attribute, usually from the
incident.CatalogTypeAttributeresource or data source. - entry
Id String - The ID of the catalog entry, usually from the
incident.CatalogEntrydata source. - value String
- The value of the attribute, in a format suitable for its type. Set this or
arrayValue.
Import
Import is supported using an import block or the pulumi import command:
The pulumi import command can be used, for example:
Import an attribute value as <entry_id>:<attribute_id>
$ pulumi import incident:index/catalogEntryAttributeValue:CatalogEntryAttributeValue example 01HXYZ:01HABC
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- incident incident-io/pulumi-incident
- License
- MIT
- Notes
- This Pulumi package is based on the
incidentTerraform Provider.
published on Tuesday, Nov 24, 2026 by incident-io