consul_key_prefixNivis Nix constructor for the consul_key_prefix 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,
path_prefix,
datacenter ? null,
id ? null,
namespace ? null,
partition ? null,
subkeys ? null,
token ? null,
subkey ? null,
overrides ? {}
}Required arguments
path_prefix
Optional arguments
datacenter(defaults tonull)id(defaults tonull)namespace(defaults tonull)partition(defaults tonull)subkeys(defaults tonull)token(defaults tonull)subkey(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
consul_key_prefix {
name = "key_prefix";
path_prefix = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.