pagerduty_user_contact_methodNivis 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
addresslabeltypeuser_id
Optional arguments
country_code(defaults tonull)device_type(defaults tonull)send_short_email(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
blacklistedenabledid
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.