pagerduty_user_contact_method

Nivis Nix constructor for the pagerduty_user_contact_method 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,
  address,
  label,
  type,
  user_id,
  country_code ? null,
  device_type ? null,
  send_short_email ? null,
  overrides ? {}
}
Required arguments
  • address
  • label
  • type
  • user_id
Optional arguments
  • country_code (defaults to null)
  • device_type (defaults to null)
  • send_short_email (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • blacklisted
  • enabled
  • id
Example
pagerduty_user_contact_method {
  name = "user_contact_method";
  address = …;  # required
  label = …;  # required
  type = …;  # required
  user_id = …;  # required
}

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