aws_account_primary_contact

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

Constructor
{
  name,
  address_line_1,
  city,
  country_code,
  full_name,
  phone_number,
  postal_code,
  account_id ? null,
  address_line_2 ? null,
  address_line_3 ? null,
  company_name ? null,
  district_or_county ? null,
  id ? null,
  state_or_region ? null,
  website_url ? null,
  overrides ? {}
}
Required arguments
  • address_line_1
  • city
  • country_code
  • full_name
  • phone_number
  • postal_code
Optional arguments
  • account_id (defaults to null)
  • address_line_2 (defaults to null)
  • address_line_3 (defaults to null)
  • company_name (defaults to null)
  • district_or_county (defaults to null)
  • id (defaults to null)
  • state_or_region (defaults to null)
  • website_url (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
aws_account_primary_contact {
  name = "account_primary_contact";
  address_line_1 = …;  # required
  city = …;  # required
  country_code = …;  # required
  full_name = …;  # required
  phone_number = …;  # required
  postal_code = …;  # required
}

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