consul_namespace_role_attachment

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

Read these from the resource's refAttr:

  • (none)
Example
consul_namespace_role_attachment {
  name = "namespace_role_attachment";
  namespace = …;  # required
  role = …;  # required
}

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