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