published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Manages workflow createGoogleCalendarEvent task.
Example Usage
resource "rootly_workflow_incident" "schedule_postmortem_review_meeting" {
name = "Schedule Postmortem Review Meeting"
description = "Automatically schedule a Google Calendar meeting to review the postmortem."
trigger_params {
triggers = ["status_updated"]
incident_statuses = ["resolved"]
incident_condition_status = "IS"
}
enabled = true
}
resource "rootly_workflow_task_create_google_calendar_event" "create_google_calendar_event" {
workflow_id = rootly_workflow_incident.schedule_postmortem_review_meeting.id
skip_on_failure = false
enabled = true
task_params {
name = "Schedule Postmortem Review Meeting"
days_until_meeting = 7
meeting_duration = "60min"
summary = "#{{ incident.sequential_id }} {{ incident.title }} Postmortem Review"
}
}
Create WorkflowTaskCreateGoogleCalendarEvent Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkflowTaskCreateGoogleCalendarEvent(name: string, args: WorkflowTaskCreateGoogleCalendarEventArgs, opts?: CustomResourceOptions);@overload
def WorkflowTaskCreateGoogleCalendarEvent(resource_name: str,
args: WorkflowTaskCreateGoogleCalendarEventArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkflowTaskCreateGoogleCalendarEvent(resource_name: str,
opts: Optional[ResourceOptions] = None,
task_params: Optional[WorkflowTaskCreateGoogleCalendarEventTaskParamsArgs] = None,
workflow_id: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
position: Optional[int] = None,
skip_on_failure: Optional[bool] = None)func NewWorkflowTaskCreateGoogleCalendarEvent(ctx *Context, name string, args WorkflowTaskCreateGoogleCalendarEventArgs, opts ...ResourceOption) (*WorkflowTaskCreateGoogleCalendarEvent, error)public WorkflowTaskCreateGoogleCalendarEvent(string name, WorkflowTaskCreateGoogleCalendarEventArgs args, CustomResourceOptions? opts = null)
public WorkflowTaskCreateGoogleCalendarEvent(String name, WorkflowTaskCreateGoogleCalendarEventArgs args)
public WorkflowTaskCreateGoogleCalendarEvent(String name, WorkflowTaskCreateGoogleCalendarEventArgs args, CustomResourceOptions options)
type: rootly:WorkflowTaskCreateGoogleCalendarEvent
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 WorkflowTaskCreateGoogleCalendarEventArgs
- 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 WorkflowTaskCreateGoogleCalendarEventArgs
- 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 WorkflowTaskCreateGoogleCalendarEventArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowTaskCreateGoogleCalendarEventArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowTaskCreateGoogleCalendarEventArgs
- 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 workflowTaskCreateGoogleCalendarEventResource = new Rootly.WorkflowTaskCreateGoogleCalendarEvent("workflowTaskCreateGoogleCalendarEventResource", new()
{
TaskParams = new Rootly.Inputs.WorkflowTaskCreateGoogleCalendarEventTaskParamsArgs
{
DaysUntilMeeting = "string",
TimeOfMeeting = "string",
Summary = "string",
MeetingDuration = "string",
Description = "string",
ExcludeWeekends = false,
ConferenceSolutionKey = "string",
CanGuestsSeeOtherGuests = false,
Attendees = new[]
{
"string",
},
CanGuestsModifyEvent = false,
PostToIncidentTimeline = false,
PostToSlackChannels = new[]
{
new Rootly.Inputs.WorkflowTaskCreateGoogleCalendarEventTaskParamsPostToSlackChannelArgs
{
Id = "string",
Name = "string",
},
},
SendUpdates = false,
CanGuestsInviteOthers = false,
TaskType = "string",
CalendarId = "string",
TimeZone = "string",
},
WorkflowId = "string",
Enabled = false,
Name = "string",
Position = 0,
SkipOnFailure = false,
});
example, err := rootly.NewWorkflowTaskCreateGoogleCalendarEvent(ctx, "workflowTaskCreateGoogleCalendarEventResource", &rootly.WorkflowTaskCreateGoogleCalendarEventArgs{
TaskParams: &rootly.WorkflowTaskCreateGoogleCalendarEventTaskParamsArgs{
DaysUntilMeeting: pulumi.String("string"),
TimeOfMeeting: pulumi.String("string"),
Summary: pulumi.String("string"),
MeetingDuration: pulumi.String("string"),
Description: pulumi.String("string"),
ExcludeWeekends: pulumi.Bool(false),
ConferenceSolutionKey: pulumi.String("string"),
CanGuestsSeeOtherGuests: pulumi.Bool(false),
Attendees: pulumi.StringArray{
pulumi.String("string"),
},
CanGuestsModifyEvent: pulumi.Bool(false),
PostToIncidentTimeline: pulumi.Bool(false),
PostToSlackChannels: rootly.WorkflowTaskCreateGoogleCalendarEventTaskParamsPostToSlackChannelArray{
&rootly.WorkflowTaskCreateGoogleCalendarEventTaskParamsPostToSlackChannelArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
SendUpdates: pulumi.Bool(false),
CanGuestsInviteOthers: pulumi.Bool(false),
TaskType: pulumi.String("string"),
CalendarId: pulumi.String("string"),
TimeZone: pulumi.String("string"),
},
WorkflowId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Position: pulumi.Int(0),
SkipOnFailure: pulumi.Bool(false),
})
var workflowTaskCreateGoogleCalendarEventResource = new WorkflowTaskCreateGoogleCalendarEvent("workflowTaskCreateGoogleCalendarEventResource", WorkflowTaskCreateGoogleCalendarEventArgs.builder()
.taskParams(WorkflowTaskCreateGoogleCalendarEventTaskParamsArgs.builder()
.daysUntilMeeting("string")
.timeOfMeeting("string")
.summary("string")
.meetingDuration("string")
.description("string")
.excludeWeekends(false)
.conferenceSolutionKey("string")
.canGuestsSeeOtherGuests(false)
.attendees("string")
.canGuestsModifyEvent(false)
.postToIncidentTimeline(false)
.postToSlackChannels(WorkflowTaskCreateGoogleCalendarEventTaskParamsPostToSlackChannelArgs.builder()
.id("string")
.name("string")
.build())
.sendUpdates(false)
.canGuestsInviteOthers(false)
.taskType("string")
.calendarId("string")
.timeZone("string")
.build())
.workflowId("string")
.enabled(false)
.name("string")
.position(0)
.skipOnFailure(false)
.build());
workflow_task_create_google_calendar_event_resource = rootly.WorkflowTaskCreateGoogleCalendarEvent("workflowTaskCreateGoogleCalendarEventResource",
task_params={
"days_until_meeting": "string",
"time_of_meeting": "string",
"summary": "string",
"meeting_duration": "string",
"description": "string",
"exclude_weekends": False,
"conference_solution_key": "string",
"can_guests_see_other_guests": False,
"attendees": ["string"],
"can_guests_modify_event": False,
"post_to_incident_timeline": False,
"post_to_slack_channels": [{
"id": "string",
"name": "string",
}],
"send_updates": False,
"can_guests_invite_others": False,
"task_type": "string",
"calendar_id": "string",
"time_zone": "string",
},
workflow_id="string",
enabled=False,
name="string",
position=0,
skip_on_failure=False)
const workflowTaskCreateGoogleCalendarEventResource = new rootly.WorkflowTaskCreateGoogleCalendarEvent("workflowTaskCreateGoogleCalendarEventResource", {
taskParams: {
daysUntilMeeting: "string",
timeOfMeeting: "string",
summary: "string",
meetingDuration: "string",
description: "string",
excludeWeekends: false,
conferenceSolutionKey: "string",
canGuestsSeeOtherGuests: false,
attendees: ["string"],
canGuestsModifyEvent: false,
postToIncidentTimeline: false,
postToSlackChannels: [{
id: "string",
name: "string",
}],
sendUpdates: false,
canGuestsInviteOthers: false,
taskType: "string",
calendarId: "string",
timeZone: "string",
},
workflowId: "string",
enabled: false,
name: "string",
position: 0,
skipOnFailure: false,
});
type: rootly:WorkflowTaskCreateGoogleCalendarEvent
properties:
enabled: false
name: string
position: 0
skipOnFailure: false
taskParams:
attendees:
- string
calendarId: string
canGuestsInviteOthers: false
canGuestsModifyEvent: false
canGuestsSeeOtherGuests: false
conferenceSolutionKey: string
daysUntilMeeting: string
description: string
excludeWeekends: false
meetingDuration: string
postToIncidentTimeline: false
postToSlackChannels:
- id: string
name: string
sendUpdates: false
summary: string
taskType: string
timeOfMeeting: string
timeZone: string
workflowId: string
WorkflowTaskCreateGoogleCalendarEvent 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 WorkflowTaskCreateGoogleCalendarEvent resource accepts the following input properties:
- Task
Params WorkflowTask Create Google Calendar Event Task Params - The parameters for this workflow task.
- Workflow
Id string - The ID of the parent workflow
- Enabled bool
- Enable/disable this workflow task
- Name string
- Name of the workflow task
- Position int
- The position of the workflow task (1 being top of list)
- Skip
On boolFailure - Skip workflow task if any failures
- Task
Params WorkflowTask Create Google Calendar Event Task Params Args - The parameters for this workflow task.
- Workflow
Id string - The ID of the parent workflow
- Enabled bool
- Enable/disable this workflow task
- Name string
- Name of the workflow task
- Position int
- The position of the workflow task (1 being top of list)
- Skip
On boolFailure - Skip workflow task if any failures
- task
Params WorkflowTask Create Google Calendar Event Task Params - The parameters for this workflow task.
- workflow
Id String - The ID of the parent workflow
- enabled Boolean
- Enable/disable this workflow task
- name String
- Name of the workflow task
- position Integer
- The position of the workflow task (1 being top of list)
- skip
On BooleanFailure - Skip workflow task if any failures
- task
Params WorkflowTask Create Google Calendar Event Task Params - The parameters for this workflow task.
- workflow
Id string - The ID of the parent workflow
- enabled boolean
- Enable/disable this workflow task
- name string
- Name of the workflow task
- position number
- The position of the workflow task (1 being top of list)
- skip
On booleanFailure - Skip workflow task if any failures
- task_
params WorkflowTask Create Google Calendar Event Task Params Args - The parameters for this workflow task.
- workflow_
id str - The ID of the parent workflow
- enabled bool
- Enable/disable this workflow task
- name str
- Name of the workflow task
- position int
- The position of the workflow task (1 being top of list)
- skip_
on_ boolfailure - Skip workflow task if any failures
- task
Params Property Map - The parameters for this workflow task.
- workflow
Id String - The ID of the parent workflow
- enabled Boolean
- Enable/disable this workflow task
- name String
- Name of the workflow task
- position Number
- The position of the workflow task (1 being top of list)
- skip
On BooleanFailure - Skip workflow task if any failures
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkflowTaskCreateGoogleCalendarEvent 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 WorkflowTaskCreateGoogleCalendarEvent Resource
Get an existing WorkflowTaskCreateGoogleCalendarEvent 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?: WorkflowTaskCreateGoogleCalendarEventState, opts?: CustomResourceOptions): WorkflowTaskCreateGoogleCalendarEvent@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
position: Optional[int] = None,
skip_on_failure: Optional[bool] = None,
task_params: Optional[WorkflowTaskCreateGoogleCalendarEventTaskParamsArgs] = None,
workflow_id: Optional[str] = None) -> WorkflowTaskCreateGoogleCalendarEventfunc GetWorkflowTaskCreateGoogleCalendarEvent(ctx *Context, name string, id IDInput, state *WorkflowTaskCreateGoogleCalendarEventState, opts ...ResourceOption) (*WorkflowTaskCreateGoogleCalendarEvent, error)public static WorkflowTaskCreateGoogleCalendarEvent Get(string name, Input<string> id, WorkflowTaskCreateGoogleCalendarEventState? state, CustomResourceOptions? opts = null)public static WorkflowTaskCreateGoogleCalendarEvent get(String name, Output<String> id, WorkflowTaskCreateGoogleCalendarEventState state, CustomResourceOptions options)resources: _: type: rootly:WorkflowTaskCreateGoogleCalendarEvent 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.
- Enabled bool
- Enable/disable this workflow task
- Name string
- Name of the workflow task
- Position int
- The position of the workflow task (1 being top of list)
- Skip
On boolFailure - Skip workflow task if any failures
- Task
Params WorkflowTask Create Google Calendar Event Task Params - The parameters for this workflow task.
- Workflow
Id string - The ID of the parent workflow
- Enabled bool
- Enable/disable this workflow task
- Name string
- Name of the workflow task
- Position int
- The position of the workflow task (1 being top of list)
- Skip
On boolFailure - Skip workflow task if any failures
- Task
Params WorkflowTask Create Google Calendar Event Task Params Args - The parameters for this workflow task.
- Workflow
Id string - The ID of the parent workflow
- enabled Boolean
- Enable/disable this workflow task
- name String
- Name of the workflow task
- position Integer
- The position of the workflow task (1 being top of list)
- skip
On BooleanFailure - Skip workflow task if any failures
- task
Params WorkflowTask Create Google Calendar Event Task Params - The parameters for this workflow task.
- workflow
Id String - The ID of the parent workflow
- enabled boolean
- Enable/disable this workflow task
- name string
- Name of the workflow task
- position number
- The position of the workflow task (1 being top of list)
- skip
On booleanFailure - Skip workflow task if any failures
- task
Params WorkflowTask Create Google Calendar Event Task Params - The parameters for this workflow task.
- workflow
Id string - The ID of the parent workflow
- enabled bool
- Enable/disable this workflow task
- name str
- Name of the workflow task
- position int
- The position of the workflow task (1 being top of list)
- skip_
on_ boolfailure - Skip workflow task if any failures
- task_
params WorkflowTask Create Google Calendar Event Task Params Args - The parameters for this workflow task.
- workflow_
id str - The ID of the parent workflow
- enabled Boolean
- Enable/disable this workflow task
- name String
- Name of the workflow task
- position Number
- The position of the workflow task (1 being top of list)
- skip
On BooleanFailure - Skip workflow task if any failures
- task
Params Property Map - The parameters for this workflow task.
- workflow
Id String - The ID of the parent workflow
Supporting Types
WorkflowTaskCreateGoogleCalendarEventTaskParams, WorkflowTaskCreateGoogleCalendarEventTaskParamsArgs
- Days
Until stringMeeting - The days until meeting
- Description string
- The event description
- Meeting
Duration string - Meeting duration in format like '1 hour', '30 minutes'
- Summary string
- The event summary
- Time
Of stringMeeting - Time of meeting in format HH:MM
- Attendees List<string>
- Emails of attendees
- Calendar
Id string - Can
Guests boolInvite Others - Value must be one of true or false
- Can
Guests boolModify Event - Value must be one of true or false
- Can
Guests boolSee Other Guests - Value must be one of true or false
- Conference
Solution stringKey - Sets the video conference type attached to the meeting. Value must be one of
eventHangout,eventNamedHangout,hangoutsMeet,addOn. - Exclude
Weekends bool - Value must be one of true or false
- Post
To boolIncident Timeline - Value must be one of true or false
- Post
To List<WorkflowSlack Channels Task Create Google Calendar Event Task Params Post To Slack Channel> - Send
Updates bool - Send an email to the attendees notifying them of the event. Value must be one of true or false
- Task
Type string - Time
Zone string - A valid IANA time zone name.
- Days
Until stringMeeting - The days until meeting
- Description string
- The event description
- Meeting
Duration string - Meeting duration in format like '1 hour', '30 minutes'
- Summary string
- The event summary
- Time
Of stringMeeting - Time of meeting in format HH:MM
- Attendees []string
- Emails of attendees
- Calendar
Id string - Can
Guests boolInvite Others - Value must be one of true or false
- Can
Guests boolModify Event - Value must be one of true or false
- Can
Guests boolSee Other Guests - Value must be one of true or false
- Conference
Solution stringKey - Sets the video conference type attached to the meeting. Value must be one of
eventHangout,eventNamedHangout,hangoutsMeet,addOn. - Exclude
Weekends bool - Value must be one of true or false
- Post
To boolIncident Timeline - Value must be one of true or false
- Post
To []WorkflowSlack Channels Task Create Google Calendar Event Task Params Post To Slack Channel - Send
Updates bool - Send an email to the attendees notifying them of the event. Value must be one of true or false
- Task
Type string - Time
Zone string - A valid IANA time zone name.
- days
Until StringMeeting - The days until meeting
- description String
- The event description
- meeting
Duration String - Meeting duration in format like '1 hour', '30 minutes'
- summary String
- The event summary
- time
Of StringMeeting - Time of meeting in format HH:MM
- attendees List<String>
- Emails of attendees
- calendar
Id String - can
Guests BooleanInvite Others - Value must be one of true or false
- can
Guests BooleanModify Event - Value must be one of true or false
- can
Guests BooleanSee Other Guests - Value must be one of true or false
- conference
Solution StringKey - Sets the video conference type attached to the meeting. Value must be one of
eventHangout,eventNamedHangout,hangoutsMeet,addOn. - exclude
Weekends Boolean - Value must be one of true or false
- post
To BooleanIncident Timeline - Value must be one of true or false
- post
To List<WorkflowSlack Channels Task Create Google Calendar Event Task Params Post To Slack Channel> - send
Updates Boolean - Send an email to the attendees notifying them of the event. Value must be one of true or false
- task
Type String - time
Zone String - A valid IANA time zone name.
- days
Until stringMeeting - The days until meeting
- description string
- The event description
- meeting
Duration string - Meeting duration in format like '1 hour', '30 minutes'
- summary string
- The event summary
- time
Of stringMeeting - Time of meeting in format HH:MM
- attendees string[]
- Emails of attendees
- calendar
Id string - can
Guests booleanInvite Others - Value must be one of true or false
- can
Guests booleanModify Event - Value must be one of true or false
- can
Guests booleanSee Other Guests - Value must be one of true or false
- conference
Solution stringKey - Sets the video conference type attached to the meeting. Value must be one of
eventHangout,eventNamedHangout,hangoutsMeet,addOn. - exclude
Weekends boolean - Value must be one of true or false
- post
To booleanIncident Timeline - Value must be one of true or false
- post
To WorkflowSlack Channels Task Create Google Calendar Event Task Params Post To Slack Channel[] - send
Updates boolean - Send an email to the attendees notifying them of the event. Value must be one of true or false
- task
Type string - time
Zone string - A valid IANA time zone name.
- days_
until_ strmeeting - The days until meeting
- description str
- The event description
- meeting_
duration str - Meeting duration in format like '1 hour', '30 minutes'
- summary str
- The event summary
- time_
of_ strmeeting - Time of meeting in format HH:MM
- attendees Sequence[str]
- Emails of attendees
- calendar_
id str - can_
guests_ boolinvite_ others - Value must be one of true or false
- can_
guests_ boolmodify_ event - Value must be one of true or false
- can_
guests_ boolsee_ other_ guests - Value must be one of true or false
- conference_
solution_ strkey - Sets the video conference type attached to the meeting. Value must be one of
eventHangout,eventNamedHangout,hangoutsMeet,addOn. - exclude_
weekends bool - Value must be one of true or false
- post_
to_ boolincident_ timeline - Value must be one of true or false
- post_
to_ Sequence[Workflowslack_ channels Task Create Google Calendar Event Task Params Post To Slack Channel] - send_
updates bool - Send an email to the attendees notifying them of the event. Value must be one of true or false
- task_
type str - time_
zone str - A valid IANA time zone name.
- days
Until StringMeeting - The days until meeting
- description String
- The event description
- meeting
Duration String - Meeting duration in format like '1 hour', '30 minutes'
- summary String
- The event summary
- time
Of StringMeeting - Time of meeting in format HH:MM
- attendees List<String>
- Emails of attendees
- calendar
Id String - can
Guests BooleanInvite Others - Value must be one of true or false
- can
Guests BooleanModify Event - Value must be one of true or false
- can
Guests BooleanSee Other Guests - Value must be one of true or false
- conference
Solution StringKey - Sets the video conference type attached to the meeting. Value must be one of
eventHangout,eventNamedHangout,hangoutsMeet,addOn. - exclude
Weekends Boolean - Value must be one of true or false
- post
To BooleanIncident Timeline - Value must be one of true or false
- post
To List<Property Map>Slack Channels - send
Updates Boolean - Send an email to the attendees notifying them of the event. Value must be one of true or false
- task
Type String - time
Zone String - A valid IANA time zone name.
WorkflowTaskCreateGoogleCalendarEventTaskParamsPostToSlackChannel, WorkflowTaskCreateGoogleCalendarEventTaskParamsPostToSlackChannelArgs
Import
rootly.WorkflowTaskCreateGoogleCalendarEvent can be imported using the import command.
$ pulumi import rootly:index/workflowTaskCreateGoogleCalendarEvent:WorkflowTaskCreateGoogleCalendarEvent 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
To learn more about importing existing cloud resources, see Importing resources.
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
