consul_peeringNivis Nix constructor for the consul_peering resource (provider consul). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
peer_name,
peering_token,
id ? null,
meta ? null,
partition ? null,
overrides ? {}
}Required arguments
peer_namepeering_token
Optional arguments
id(defaults tonull)meta(defaults tonull)partition(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
deleted_atpeer_ca_pemspeer_idpeer_server_addressespeer_server_namestate
Example
consul_peering {
name = "peering";
peer_name = …; # required
peering_token = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.