consul_peering_token

Nivis 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 to null)
  • meta (defaults to null)
  • partition (defaults to null)
  • server_external_addresses (defaults to null)
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.