Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Latest commit

 

History

History
1285 lines (902 loc) · 40.6 KB

File metadata and controls

1285 lines (902 loc) · 40.6 KB
page_title subcategory description
firehydrant_team Resource - terraform-provider-firehydrant
Team Resource

firehydrant_team (Resource)

Team Resource

Example Usage

resource "firehydrant_team" "my_team" {
  description = "...my_description..."
  invite_emails = [
    "..."
  ]
  memberships_input = [
    {
      incident_role_id            = "...my_incident_role_id..."
      schedule_id                 = "...my_schedule_id..."
      signals_on_call_schedule_id = "...my_signals_on_call_schedule_id..."
      user_id                     = "...my_user_id..."
    }
  ]
  ms_teams_channel_input = {
    channel_id = "...my_channel_id..."
    ms_team_id = "...my_ms_team_id..."
  }
  name             = "...my_name..."
  slack_channel_id = "...my_slack_channel_id..."
  slug             = "...my_slug..."
}

Schema

Required

  • name (String)

Optional

  • description (String)
  • invite_emails (List of String) A list of email addresses to invite to join the organization and automatically add to this team. If an email already has a pending invitation, the team will be added to their existing invitation.
  • memberships_input (Attributes List) (see below for nested schema)
  • ms_teams_channel_input (Attributes) MS Teams channel identity for channel associated with this team (see below for nested schema)
  • slack_channel_id (String) The Slack channel ID associated with this team. This may be the reference in FireHydrant's system (i.e. UUID) or the ID value from Slack (e.g. C1234567890).
  • slug (String)

Read-Only

Nested Schema for memberships_input

Optional:

  • incident_role_id (String) An incident role ID that the user will automatically assigned if this team is assigned to an incident
  • schedule_id (String) The ID of a third-party on-call schedule to add to the team, allowing you to specify that whoever is on call for this schedule when the team is assigned to an incident gets added to the incident and optionally assigned to the configured incident role. This parameter is mutually exclusive with user_id and signals_on_call_schedule_id.
  • signals_on_call_schedule_id (String) The ID of a Signals on-call schedule to add to the team, allowing you to specify that whoever is on call for this schedule when the team is assigned to an incident gets added to the incident and optionally assigned to the configured incident role.. This parameter is mutually exclusive with user_id and schedule_id.
  • user_id (String) The ID of a user to add to the team. This parameter is mutually exclusive with schedule_id and signals_on_call_schedule_id.

Nested Schema for ms_teams_channel_input

Required:

  • channel_id (String)
  • ms_team_id (String)

Nested Schema for created_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for default_signals_escalation_policy

Read-Only:

  • id (String)
  • name (String)

Nested Schema for functionalities

Read-Only:

  • active_incidents (List of String) List of active incident guids
  • alert_on_add (Boolean)
  • auto_add_responding_team (Boolean)
  • created_at (String)
  • description (String)
  • id (String)
  • labels (Attributes) An object of label key and values (see below for nested schema)
  • links (Attributes List) List of links attached to this functionality. (see below for nested schema)
  • name (String)
  • owner (Attributes) (see below for nested schema)
  • slug (String)
  • updated_at (String)
  • updated_by (Attributes) (see below for nested schema)

Nested Schema for functionalities.labels

Nested Schema for functionalities.links

Read-Only:

  • href_url (String)
  • icon_url (String)
  • id (String)
  • name (String)

Nested Schema for functionalities.owner

Read-Only:

  • created_at (String)
  • created_by (Attributes) (see below for nested schema)
  • description (String)
  • id (String)
  • in_support_hours (Boolean)
  • name (String)
  • signals_ical_url (String)
  • slug (String)
  • updated_at (String)

Nested Schema for functionalities.owner.created_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for functionalities.updated_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for memberships

Read-Only:

Nested Schema for memberships.default_incident_role

Read-Only:

  • created_at (String)
  • description (String)
  • discarded_at (String)
  • id (String)
  • name (String)
  • summary (String)
  • updated_at (String)

Nested Schema for memberships.schedule

Read-Only:

  • discarded (Boolean)
  • id (String)
  • integration (String)
  • name (String)

Nested Schema for memberships.signals_on_call_schedule

Read-Only:

  • id (String)
  • name (String)

Nested Schema for memberships.user

Read-Only:

  • created_at (String)
  • email (String)
  • id (String)
  • name (String)
  • signals_enabled_notification_types (List of String)
  • signals_notification_policy_compliance (Attributes List) (see below for nested schema)
  • slack_linked (Boolean)
  • slack_user_id (String)
  • updated_at (String)

Nested Schema for memberships.user.signals_notification_policy_compliance

Read-Only:

  • is_compliant (Boolean)
  • notification_policy_item_id (String)

Nested Schema for ms_teams_channel

Read-Only:

  • channel_id (String)
  • channel_name (String)
  • channel_url (String)
  • id (String)
  • incident (Attributes) Incident model (see below for nested schema)
  • ms_team_id (String)
  • status (String)
  • team_name (String)

Nested Schema for ms_teams_channel.incident

Read-Only:

Nested Schema for ms_teams_channel.incident.conference_bridges

Read-Only:

  • attachments (Attributes List) A list of objects attached to this item. Can be one of: Link, CustomerSupportIssue, or GenericAttachment (see below for nested schema)
  • has_translated_transcripts (Boolean)
  • id (String)
  • language_codes (List of String) A list of language codes that have translated transcripts for this conference bridge
  • previous_host_assignment (String)
  • transcription_status (String)
  • transcription_sub_code (String)

Nested Schema for ms_teams_channel.incident.conference_bridges.attachments

Nested Schema for ms_teams_channel.incident.context_object

Read-Only:

  • context_description (String)
  • context_tag (String)
  • object_id (String)
  • object_type (String)

Nested Schema for ms_teams_channel.incident.conversations

Read-Only:

  • channel (Attributes) (see below for nested schema)
  • comments_url (String)
  • field (String)
  • id (String)
  • resource_class (String)
  • resource_id (String)

Nested Schema for ms_teams_channel.incident.conversations.channel

Read-Only:

  • name (String)

Nested Schema for ms_teams_channel.incident.created_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for ms_teams_channel.incident.custom_fields

Read-Only:

  • description (String)
  • display_name (String)
  • field_id (String)
  • name (String)
  • slug (String)
  • value (String)
  • value_array (List of String)
  • value_string (String)
  • value_type (String)

Nested Schema for ms_teams_channel.incident.environments

Read-Only:

  • id (String)
  • name (String)

Nested Schema for ms_teams_channel.incident.field_requirements

Read-Only:

  • field_id (String) A unique identifier for the field.
  • required_at_milestone_id (String) The milestone at which this field is required. If null, this field is always required.

Nested Schema for ms_teams_channel.incident.functionalities

Read-Only:

  • id (String)
  • name (String)

Nested Schema for ms_teams_channel.incident.impacts

Read-Only:

Nested Schema for ms_teams_channel.incident.impacts.condition

Read-Only:

  • id (String)
  • name (String)
  • position (Number) Position is used to determine ordering of conditions in API responses and dropdowns. The condition with the lowest position (typically 0) will be considered the Default Condition

Nested Schema for ms_teams_channel.incident.impacts.conversations

Read-Only:

  • channel (Attributes) (see below for nested schema)
  • comments_url (String)
  • field (String)
  • id (String)
  • resource_class (String)
  • resource_id (String)

Nested Schema for ms_teams_channel.incident.impacts.conversations.channel

Read-Only:

  • name (String)

Nested Schema for ms_teams_channel.incident.impacts.impact

Read-Only:

  • id (String)
  • name (String)

Nested Schema for ms_teams_channel.incident.incident_channels

Read-Only:

  • icon_url (String)
  • id (String)
  • name (String)
  • source (String)
  • source_id (String)
  • source_name (String)
  • status (String)
  • url (String)

Nested Schema for ms_teams_channel.incident.incident_tickets

Read-Only:

  • assignees (Attributes List) (see below for nested schema)
  • attachments (Attributes List) A list of objects attached to this item. Can be one of: Link, CustomerSupportIssue, or GenericAttachment (see below for nested schema)
  • created_at (String)
  • created_by (Attributes) (see below for nested schema)
  • description (String)
  • due_at (String)
  • id (String)
  • incident_current_milestone (String) Milestone of incident that this ticket is related to
  • incident_id (String) ID of incident that this ticket is related to
  • incident_name (String) Name of incident that this ticket is related to
  • link (Attributes) Attachments_Link model (see below for nested schema)
  • priority (Attributes) Ticketing_Priority model (see below for nested schema)
  • state (String)
  • summary (String)
  • sync_error_message (String) Error message from syncing this ticket to integrations
  • tag_list (List of String)
  • task_id (String) ID of task that this ticket is related to
  • type (String)
  • updated_at (String)

Nested Schema for ms_teams_channel.incident.incident_tickets.assignees

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for ms_teams_channel.incident.incident_tickets.attachments

Nested Schema for ms_teams_channel.incident.incident_tickets.created_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for ms_teams_channel.incident.incident_tickets.link

Read-Only:

  • deletable (Boolean) Link can be deleted
  • display_text (String)
  • editable (Boolean) Link can be edited
  • href_url (String)
  • icon_url (String)
  • id (String)
  • type (String)

Nested Schema for ms_teams_channel.incident.incident_tickets.priority

Read-Only:

  • created_at (String)
  • id (String)
  • name (String)
  • position (Number)
  • updated_at (String)

Nested Schema for ms_teams_channel.incident.incident_type

Read-Only:

  • id (String)
  • name (String)

Nested Schema for ms_teams_channel.incident.labels

Nested Schema for ms_teams_channel.incident.last_note

Read-Only:

Nested Schema for ms_teams_channel.incident.last_note.conversations

Read-Only:

  • channel (Attributes) (see below for nested schema)
  • comments_url (String)
  • field (String)
  • id (String)
  • resource_class (String)
  • resource_id (String)

Nested Schema for ms_teams_channel.incident.last_note.conversations.channel

Read-Only:

  • name (String)

Nested Schema for ms_teams_channel.incident.last_note.status_pages

Read-Only:

  • display_name (String)
  • external_id (String)
  • id (String)
  • integration (Attributes) (see below for nested schema)
  • name (String)
  • url (String)

Nested Schema for ms_teams_channel.incident.last_note.status_pages.integration

Read-Only:

  • created_at (String)
  • display_name (String)
  • id (String)
  • integration_name (String)
  • integration_slug (String)

Nested Schema for ms_teams_channel.incident.lifecycle_measurements

Read-Only:

  • calculated_at (String)
  • description (String)
  • ends_at_milestone (String)
  • id (String)
  • name (String)
  • slug (String)
  • starts_at_milestone (String)
  • value (String)

Nested Schema for ms_teams_channel.incident.lifecycle_phases

Read-Only:

  • description (String)
  • id (String)
  • milestones (Attributes List) (see below for nested schema)
  • name (String)
  • position (Number)
  • type (String)

Nested Schema for ms_teams_channel.incident.lifecycle_phases.milestones

Read-Only:

  • description (String)
  • duration (String)
  • id (String)
  • name (String)
  • occurred_at (String)
  • position (Number)
  • slug (String)
  • updated_at (String)
  • updated_by (Attributes) (see below for nested schema)

Nested Schema for ms_teams_channel.incident.lifecycle_phases.milestones.updated_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for ms_teams_channel.incident.milestones

Read-Only:

  • created_at (String)
  • duration (String) How long the incident spent in this milestones, in ISO 8601 Duration Format. This will be null if the milestone is the incident's current milestone.
  • id (String)
  • occurred_at (String)
  • type (String) The milestone's type. This will be one of the currently configured milestones for the given incident.
  • updated_at (String)

Nested Schema for ms_teams_channel.incident.organization

Read-Only:

  • id (String)
  • name (String)

Nested Schema for ms_teams_channel.incident.retro_exports

Nested Schema for ms_teams_channel.incident.role_assignments

Read-Only:

Nested Schema for ms_teams_channel.incident.role_assignments.incident_role

Read-Only:

  • created_at (String)
  • description (String)
  • discarded_at (String)
  • id (String)
  • name (String)
  • summary (String)
  • updated_at (String)

Nested Schema for ms_teams_channel.incident.role_assignments.user

Read-Only:

  • created_at (String)
  • email (String)
  • id (String)
  • name (String)
  • signals_enabled_notification_types (List of String)
  • signals_notification_policy_compliance (Attributes List) (see below for nested schema)
  • slack_linked (Boolean)
  • slack_user_id (String)
  • updated_at (String)

Nested Schema for ms_teams_channel.incident.role_assignments.user.signals_notification_policy_compliance

Read-Only:

  • is_compliant (Boolean)
  • notification_policy_item_id (String)

Nested Schema for ms_teams_channel.incident.services

Read-Only:

  • id (String)
  • name (String)

Nested Schema for ms_teams_channel.incident.severity_condition_object

Read-Only:

  • id (String)
  • name (String)
  • position (Number) Position is used to determine ordering of conditions in API responses and dropdowns. The condition with the lowest position (typically 0) will be considered the Default Condition

Nested Schema for ms_teams_channel.incident.severity_impact_object

Read-Only:

  • affects_id (String)
  • id (String)
  • name (String)
  • position (Number)
  • type (String)

Nested Schema for ms_teams_channel.incident.status_pages

Read-Only:

  • display_name (String)
  • external_id (String)
  • id (String)
  • integration (Attributes) (see below for nested schema)
  • name (String)
  • url (String)

Nested Schema for ms_teams_channel.incident.status_pages.integration

Read-Only:

  • created_at (String)
  • display_name (String)
  • id (String)
  • integration_name (String)
  • integration_slug (String)

Nested Schema for ms_teams_channel.incident.team_assignments

Read-Only:

  • created_at (String)
  • id (String)
  • status (String)
  • team (Attributes) (see below for nested schema)
  • updated_at (String)

Nested Schema for ms_teams_channel.incident.team_assignments.team

Read-Only:

  • created_at (String)
  • created_by (Attributes) (see below for nested schema)
  • description (String)
  • id (String)
  • in_support_hours (Boolean)
  • name (String)
  • signals_ical_url (String)
  • slug (String)
  • updated_at (String)

Nested Schema for ms_teams_channel.incident.team_assignments.team.created_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for ms_teams_channel.incident.ticket

Read-Only:

  • assignees (Attributes List) (see below for nested schema)
  • attachments (Attributes List) A list of objects attached to this item. Can be one of: Link, CustomerSupportIssue, or GenericAttachment (see below for nested schema)
  • created_at (String)
  • created_by (Attributes) (see below for nested schema)
  • description (String)
  • due_at (String)
  • id (String)
  • incident_current_milestone (String) Milestone of incident that this ticket is related to
  • incident_id (String) ID of incident that this ticket is related to
  • incident_name (String) Name of incident that this ticket is related to
  • link (Attributes) Attachments_Link model (see below for nested schema)
  • priority (Attributes) Ticketing_Priority model (see below for nested schema)
  • state (String)
  • summary (String)
  • sync_error_message (String) Error message from syncing this ticket to integrations
  • tag_list (List of String)
  • task_id (String) ID of task that this ticket is related to
  • type (String)
  • updated_at (String)

Nested Schema for ms_teams_channel.incident.ticket.assignees

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for ms_teams_channel.incident.ticket.attachments

Nested Schema for ms_teams_channel.incident.ticket.created_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for ms_teams_channel.incident.ticket.link

Read-Only:

  • deletable (Boolean) Link can be deleted
  • display_text (String)
  • editable (Boolean) Link can be edited
  • href_url (String)
  • icon_url (String)
  • id (String)
  • type (String)

Nested Schema for ms_teams_channel.incident.ticket.priority

Read-Only:

  • created_at (String)
  • id (String)
  • name (String)
  • position (Number)
  • updated_at (String)

Nested Schema for owned_checklist_templates

Read-Only:

Nested Schema for owned_checklist_templates.checks

Read-Only:

  • description (String)
  • id (String)
  • name (String)
  • status (Boolean)

Nested Schema for owned_checklist_templates.connected_services

Read-Only:

  • alert_on_add (Boolean)
  • allowed_params (List of String)
  • auto_add_responding_team (Boolean)
  • completed_checks (Number)
  • created_at (String)
  • description (String)
  • id (String)
  • labels (Attributes) An object of label key and values (see below for nested schema)
  • name (String)
  • owner (Attributes) (see below for nested schema)
  • service_checklist_updated_at (String)
  • service_tier (Number)
  • slug (String)
  • updated_at (String)

Nested Schema for owned_checklist_templates.connected_services.labels

Nested Schema for owned_checklist_templates.connected_services.owner

Read-Only:

  • created_at (String)
  • created_by (Attributes) (see below for nested schema)
  • description (String)
  • id (String)
  • in_support_hours (Boolean)
  • name (String)
  • signals_ical_url (String)
  • slug (String)
  • updated_at (String)

Nested Schema for owned_checklist_templates.connected_services.owner.created_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for owned_checklist_templates.owner

Read-Only:

  • created_at (String)
  • created_by (Attributes) (see below for nested schema)
  • description (String)
  • id (String)
  • in_support_hours (Boolean)
  • name (String)
  • signals_ical_url (String)
  • slug (String)
  • updated_at (String)

Nested Schema for owned_checklist_templates.owner.created_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for owned_functionalities

Read-Only:

  • active_incidents (List of String) List of active incident guids
  • alert_on_add (Boolean)
  • auto_add_responding_team (Boolean)
  • created_at (String)
  • description (String)
  • id (String)
  • labels (Attributes) An object of label key and values (see below for nested schema)
  • links (Attributes List) List of links attached to this functionality. (see below for nested schema)
  • name (String)
  • owner (Attributes) (see below for nested schema)
  • slug (String)
  • updated_at (String)
  • updated_by (Attributes) (see below for nested schema)

Nested Schema for owned_functionalities.labels

Nested Schema for owned_functionalities.links

Read-Only:

  • href_url (String)
  • icon_url (String)
  • id (String)
  • name (String)

Nested Schema for owned_functionalities.owner

Read-Only:

  • created_at (String)
  • created_by (Attributes) (see below for nested schema)
  • description (String)
  • id (String)
  • in_support_hours (Boolean)
  • name (String)
  • signals_ical_url (String)
  • slug (String)
  • updated_at (String)

Nested Schema for owned_functionalities.owner.created_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for owned_functionalities.updated_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for owned_runbooks

Read-Only:

  • attachment_rule (Attributes) (see below for nested schema)
  • categories (List of String) categories the runbook applies to
  • created_at (String)
  • description (String)
  • id (String)
  • name (String)
  • owner (Attributes) (see below for nested schema)
  • summary (String)
  • type (String)
  • updated_at (String)

Nested Schema for owned_runbooks.attachment_rule

Read-Only:

  • logic (String) JSON stringified object of key/value pairs describing the logic for applying the rule.
  • user_data (Attributes) (see below for nested schema)

Nested Schema for owned_runbooks.attachment_rule.user_data

Read-Only:

  • label (String)
  • type (String)
  • value (String)

Nested Schema for owned_runbooks.owner

Read-Only:

  • created_at (String)
  • created_by (Attributes) (see below for nested schema)
  • description (String)
  • id (String)
  • in_support_hours (Boolean)
  • name (String)
  • signals_ical_url (String)
  • slug (String)
  • updated_at (String)

Nested Schema for owned_runbooks.owner.created_by

Read-Only:

  • email (String)
  • id (String)
  • name (String)
  • source (String)

Nested Schema for owned_services

Read-Only:

  • alert_on_add (Boolean)
  • allowed_params (List of String)
  • auto_add_responding_team (Boolean)
  • created_at (String)
  • description (String)
  • id (String)
  • labels (Attributes) An object of label key and values (see below for nested schema)
  • name (String)
  • service_tier (Number)
  • slug (String)
  • updated_at (String)

Nested Schema for owned_services.labels

Nested Schema for responding_services

Read-Only:

  • alert_on_add (Boolean)
  • allowed_params (List of String)
  • auto_add_responding_team (Boolean)
  • created_at (String)
  • description (String)
  • id (String)
  • labels (Attributes) An object of label key and values (see below for nested schema)
  • name (String)
  • service_tier (Number)
  • slug (String)
  • updated_at (String)

Nested Schema for responding_services.labels

Nested Schema for services

Read-Only:

  • alert_on_add (Boolean)
  • allowed_params (List of String)
  • auto_add_responding_team (Boolean)
  • created_at (String)
  • description (String)
  • id (String)
  • labels (Attributes) An object of label key and values (see below for nested schema)
  • name (String)
  • service_tier (Number)
  • slug (String)
  • updated_at (String)

Nested Schema for services.labels

Nested Schema for slack_channel

Read-Only:

  • id (String)
  • name (String)
  • slack_channel_id (String)

Import

Import is supported using the following syntax:

terraform import firehydrant_team.my_firehydrant_team ""