consul_namespace_policy_attachment

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

Read these from the resource's refAttr:

  • (none)
Example
consul_namespace_policy_attachment {
  name = "namespace_policy_attachment";
  namespace = …;  # required
  policy = …;  # required
}

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