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