consul_keys

Nivis Nix constructor for the consul_keys 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,
  datacenter ? null,
  id ? null,
  namespace ? null,
  partition ? null,
  token ? null,
  key ? null,
  overrides ? {}
}
Required arguments

_None._

Optional arguments
  • datacenter (defaults to null)
  • id (defaults to null)
  • namespace (defaults to null)
  • partition (defaults to null)
  • token (defaults to null)
  • key (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • var
Example
consul_keys {
  name = "keys";
}

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