cloudflare_byo_ip_prefix

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

Constructor
{
  name,
  account_id,
  asn,
  cidr,
  delegate_loa_creation ? null,
  description ? null,
  loa_document_id ? null,
  overrides ? {}
}
Required arguments
  • account_id
  • asn
  • cidr
Optional arguments
  • delegate_loa_creation (defaults to null)
  • description (defaults to null)
  • loa_document_id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • advertised
  • advertised_modified_at
  • approved
  • asn_ownership_validation_state
  • aspa_validation_state
  • created_at
  • id
  • irr_validation_state
  • modified_at
  • on_demand_enabled
  • on_demand_locked
  • ownership_validation_state
  • ownership_validation_token
  • rpki_validation_state
Example
cloudflare_byo_ip_prefix {
  name = "byo_ip_prefix";
  account_id = …;  # required
  asn = …;  # required
  cidr = …;  # required
}

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