consul_peering_tokenNivis Nix constructor for the consul_peering_token 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,
id ? null,
meta ? null,
partition ? null,
server_external_addresses ? null,
overrides ? {}
}Required arguments
peer_name
Optional arguments
id(defaults tonull)meta(defaults tonull)partition(defaults tonull)server_external_addresses(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
peering_token
Example
consul_peering_token {
name = "peering_token";
peer_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.