pagerduty_slack_connection

Nivis Nix constructor for the pagerduty_slack_connection resource (provider pagerduty). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  channel_id,
  notification_type,
  source_id,
  source_type,
  workspace_id,
  id ? null,
  config ? null,
  overrides ? {}
}
Required arguments
  • channel_id
  • notification_type
  • source_id
  • source_type
  • workspace_id
Optional arguments
  • id (defaults to null)
  • config (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • channel_name
  • source_name
Example
pagerduty_slack_connection {
  name = "slack_connection";
  channel_id = …;  # required
  notification_type = …;  # required
  source_id = …;  # required
  source_type = …;  # required
  workspace_id = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.