published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Import
rootly.FormSet can be imported using the import command.
$ pulumi import rootly:index/formSet:FormSet primary a816421c-6ceb-481a-87c4-585e47451f24
Or using an import block.
Locate the resource id in the web app, or retrieve it by listing resources through the API if it’s not visible in the web app.
HCL can be generated from the import block using the -generate-config-out flag.
pulumi preview -generate-config-out=generated.tf
Create FormSet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FormSet(name: string, args: FormSetArgs, opts?: CustomResourceOptions);@overload
def FormSet(resource_name: str,
args: FormSetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FormSet(resource_name: str,
opts: Optional[ResourceOptions] = None,
forms: Optional[Sequence[str]] = None,
is_default: Optional[bool] = None,
name: Optional[str] = None,
slug: Optional[str] = None)func NewFormSet(ctx *Context, name string, args FormSetArgs, opts ...ResourceOption) (*FormSet, error)public FormSet(string name, FormSetArgs args, CustomResourceOptions? opts = null)
public FormSet(String name, FormSetArgs args)
public FormSet(String name, FormSetArgs args, CustomResourceOptions options)
type: rootly:FormSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FormSetArgs
- 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 FormSetArgs
- 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 FormSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FormSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FormSetArgs
- 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 formSetResource = new Rootly.FormSet("formSetResource", new()
{
Forms = new[]
{
"string",
},
IsDefault = false,
Name = "string",
Slug = "string",
});
example, err := rootly.NewFormSet(ctx, "formSetResource", &rootly.FormSetArgs{
Forms: pulumi.StringArray{
pulumi.String("string"),
},
IsDefault: pulumi.Bool(false),
Name: pulumi.String("string"),
Slug: pulumi.String("string"),
})
var formSetResource = new FormSet("formSetResource", FormSetArgs.builder()
.forms("string")
.isDefault(false)
.name("string")
.slug("string")
.build());
form_set_resource = rootly.FormSet("formSetResource",
forms=["string"],
is_default=False,
name="string",
slug="string")
const formSetResource = new rootly.FormSet("formSetResource", {
forms: ["string"],
isDefault: false,
name: "string",
slug: "string",
});
type: rootly:FormSet
properties:
forms:
- string
isDefault: false
name: string
slug: string
FormSet 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 FormSet resource accepts the following input properties:
- Forms List<string>
- The forms included in the form set. Add custom forms using the custom form's
slugfield. Or choose a built-in form:webNewIncidentForm,webUpdateIncidentForm,webIncidentPostMortemForm,webIncidentMitigationForm,webIncidentResolutionForm,webIncidentCancellationForm,webScheduledIncidentForm,webUpdateScheduledIncidentForm,slackNewIncidentForm,slackUpdateIncidentForm,slackUpdateIncidentStatusForm,slackIncidentMitigationForm,slackIncidentResolutionForm,slackIncidentCancellationForm,slackScheduledIncidentForm,slackUpdateScheduledIncidentForm - Is
Default bool - Whether the form set is default. Value must be one of true or false
- Name string
- The name of the form set
- Slug string
- The slug of the form set
- Forms []string
- The forms included in the form set. Add custom forms using the custom form's
slugfield. Or choose a built-in form:webNewIncidentForm,webUpdateIncidentForm,webIncidentPostMortemForm,webIncidentMitigationForm,webIncidentResolutionForm,webIncidentCancellationForm,webScheduledIncidentForm,webUpdateScheduledIncidentForm,slackNewIncidentForm,slackUpdateIncidentForm,slackUpdateIncidentStatusForm,slackIncidentMitigationForm,slackIncidentResolutionForm,slackIncidentCancellationForm,slackScheduledIncidentForm,slackUpdateScheduledIncidentForm - Is
Default bool - Whether the form set is default. Value must be one of true or false
- Name string
- The name of the form set
- Slug string
- The slug of the form set
- forms List<String>
- The forms included in the form set. Add custom forms using the custom form's
slugfield. Or choose a built-in form:webNewIncidentForm,webUpdateIncidentForm,webIncidentPostMortemForm,webIncidentMitigationForm,webIncidentResolutionForm,webIncidentCancellationForm,webScheduledIncidentForm,webUpdateScheduledIncidentForm,slackNewIncidentForm,slackUpdateIncidentForm,slackUpdateIncidentStatusForm,slackIncidentMitigationForm,slackIncidentResolutionForm,slackIncidentCancellationForm,slackScheduledIncidentForm,slackUpdateScheduledIncidentForm - is
Default Boolean - Whether the form set is default. Value must be one of true or false
- name String
- The name of the form set
- slug String
- The slug of the form set
- forms string[]
- The forms included in the form set. Add custom forms using the custom form's
slugfield. Or choose a built-in form:webNewIncidentForm,webUpdateIncidentForm,webIncidentPostMortemForm,webIncidentMitigationForm,webIncidentResolutionForm,webIncidentCancellationForm,webScheduledIncidentForm,webUpdateScheduledIncidentForm,slackNewIncidentForm,slackUpdateIncidentForm,slackUpdateIncidentStatusForm,slackIncidentMitigationForm,slackIncidentResolutionForm,slackIncidentCancellationForm,slackScheduledIncidentForm,slackUpdateScheduledIncidentForm - is
Default boolean - Whether the form set is default. Value must be one of true or false
- name string
- The name of the form set
- slug string
- The slug of the form set
- forms Sequence[str]
- The forms included in the form set. Add custom forms using the custom form's
slugfield. Or choose a built-in form:webNewIncidentForm,webUpdateIncidentForm,webIncidentPostMortemForm,webIncidentMitigationForm,webIncidentResolutionForm,webIncidentCancellationForm,webScheduledIncidentForm,webUpdateScheduledIncidentForm,slackNewIncidentForm,slackUpdateIncidentForm,slackUpdateIncidentStatusForm,slackIncidentMitigationForm,slackIncidentResolutionForm,slackIncidentCancellationForm,slackScheduledIncidentForm,slackUpdateScheduledIncidentForm - is_
default bool - Whether the form set is default. Value must be one of true or false
- name str
- The name of the form set
- slug str
- The slug of the form set
- forms List<String>
- The forms included in the form set. Add custom forms using the custom form's
slugfield. Or choose a built-in form:webNewIncidentForm,webUpdateIncidentForm,webIncidentPostMortemForm,webIncidentMitigationForm,webIncidentResolutionForm,webIncidentCancellationForm,webScheduledIncidentForm,webUpdateScheduledIncidentForm,slackNewIncidentForm,slackUpdateIncidentForm,slackUpdateIncidentStatusForm,slackIncidentMitigationForm,slackIncidentResolutionForm,slackIncidentCancellationForm,slackScheduledIncidentForm,slackUpdateScheduledIncidentForm - is
Default Boolean - Whether the form set is default. Value must be one of true or false
- name String
- The name of the form set
- slug String
- The slug of the form set
Outputs
All input properties are implicitly available as output properties. Additionally, the FormSet 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 str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing FormSet Resource
Get an existing FormSet 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?: FormSetState, opts?: CustomResourceOptions): FormSet@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
forms: Optional[Sequence[str]] = None,
is_default: Optional[bool] = None,
name: Optional[str] = None,
slug: Optional[str] = None) -> FormSetfunc GetFormSet(ctx *Context, name string, id IDInput, state *FormSetState, opts ...ResourceOption) (*FormSet, error)public static FormSet Get(string name, Input<string> id, FormSetState? state, CustomResourceOptions? opts = null)public static FormSet get(String name, Output<String> id, FormSetState state, CustomResourceOptions options)resources: _: type: rootly:FormSet get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Forms List<string>
- The forms included in the form set. Add custom forms using the custom form's
slugfield. Or choose a built-in form:webNewIncidentForm,webUpdateIncidentForm,webIncidentPostMortemForm,webIncidentMitigationForm,webIncidentResolutionForm,webIncidentCancellationForm,webScheduledIncidentForm,webUpdateScheduledIncidentForm,slackNewIncidentForm,slackUpdateIncidentForm,slackUpdateIncidentStatusForm,slackIncidentMitigationForm,slackIncidentResolutionForm,slackIncidentCancellationForm,slackScheduledIncidentForm,slackUpdateScheduledIncidentForm - Is
Default bool - Whether the form set is default. Value must be one of true or false
- Name string
- The name of the form set
- Slug string
- The slug of the form set
- Forms []string
- The forms included in the form set. Add custom forms using the custom form's
slugfield. Or choose a built-in form:webNewIncidentForm,webUpdateIncidentForm,webIncidentPostMortemForm,webIncidentMitigationForm,webIncidentResolutionForm,webIncidentCancellationForm,webScheduledIncidentForm,webUpdateScheduledIncidentForm,slackNewIncidentForm,slackUpdateIncidentForm,slackUpdateIncidentStatusForm,slackIncidentMitigationForm,slackIncidentResolutionForm,slackIncidentCancellationForm,slackScheduledIncidentForm,slackUpdateScheduledIncidentForm - Is
Default bool - Whether the form set is default. Value must be one of true or false
- Name string
- The name of the form set
- Slug string
- The slug of the form set
- forms List<String>
- The forms included in the form set. Add custom forms using the custom form's
slugfield. Or choose a built-in form:webNewIncidentForm,webUpdateIncidentForm,webIncidentPostMortemForm,webIncidentMitigationForm,webIncidentResolutionForm,webIncidentCancellationForm,webScheduledIncidentForm,webUpdateScheduledIncidentForm,slackNewIncidentForm,slackUpdateIncidentForm,slackUpdateIncidentStatusForm,slackIncidentMitigationForm,slackIncidentResolutionForm,slackIncidentCancellationForm,slackScheduledIncidentForm,slackUpdateScheduledIncidentForm - is
Default Boolean - Whether the form set is default. Value must be one of true or false
- name String
- The name of the form set
- slug String
- The slug of the form set
- forms string[]
- The forms included in the form set. Add custom forms using the custom form's
slugfield. Or choose a built-in form:webNewIncidentForm,webUpdateIncidentForm,webIncidentPostMortemForm,webIncidentMitigationForm,webIncidentResolutionForm,webIncidentCancellationForm,webScheduledIncidentForm,webUpdateScheduledIncidentForm,slackNewIncidentForm,slackUpdateIncidentForm,slackUpdateIncidentStatusForm,slackIncidentMitigationForm,slackIncidentResolutionForm,slackIncidentCancellationForm,slackScheduledIncidentForm,slackUpdateScheduledIncidentForm - is
Default boolean - Whether the form set is default. Value must be one of true or false
- name string
- The name of the form set
- slug string
- The slug of the form set
- forms Sequence[str]
- The forms included in the form set. Add custom forms using the custom form's
slugfield. Or choose a built-in form:webNewIncidentForm,webUpdateIncidentForm,webIncidentPostMortemForm,webIncidentMitigationForm,webIncidentResolutionForm,webIncidentCancellationForm,webScheduledIncidentForm,webUpdateScheduledIncidentForm,slackNewIncidentForm,slackUpdateIncidentForm,slackUpdateIncidentStatusForm,slackIncidentMitigationForm,slackIncidentResolutionForm,slackIncidentCancellationForm,slackScheduledIncidentForm,slackUpdateScheduledIncidentForm - is_
default bool - Whether the form set is default. Value must be one of true or false
- name str
- The name of the form set
- slug str
- The slug of the form set
- forms List<String>
- The forms included in the form set. Add custom forms using the custom form's
slugfield. Or choose a built-in form:webNewIncidentForm,webUpdateIncidentForm,webIncidentPostMortemForm,webIncidentMitigationForm,webIncidentResolutionForm,webIncidentCancellationForm,webScheduledIncidentForm,webUpdateScheduledIncidentForm,slackNewIncidentForm,slackUpdateIncidentForm,slackUpdateIncidentStatusForm,slackIncidentMitigationForm,slackIncidentResolutionForm,slackIncidentCancellationForm,slackScheduledIncidentForm,slackUpdateScheduledIncidentForm - is
Default Boolean - Whether the form set is default. Value must be one of true or false
- name String
- The name of the form set
- slug String
- The slug of the form set
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootlyTerraform Provider.
published on Thursday, May 7, 2026 by rootlyhq
