consul_acl_token_role_attachment

Nivis Nix constructor for the consul_acl_token_role_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, role, token_id, id ? null, overrides ? {} }
Required arguments
  • role
  • token_id
Optional arguments
  • id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
consul_acl_token_role_attachment {
  name = "acl_token_role_attachment";
  role = …;  # required
  token_id = …;  # required
}

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