cloudflare_byo_ip_prefixNivis 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_idasncidr
Optional arguments
delegate_loa_creation(defaults tonull)description(defaults tonull)loa_document_id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
advertisedadvertised_modified_atapprovedasn_ownership_validation_stateaspa_validation_statecreated_atidirr_validation_statemodified_aton_demand_enabledon_demand_lockedownership_validation_stateownership_validation_tokenrpki_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.