consul_catalog_entry

Nivis Nix constructor for the consul_catalog_entry 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,
  address,
  node,
  datacenter ? null,
  id ? null,
  token ? null,
  service ? null,
  overrides ? {}
}
Required arguments
  • address
  • node
Optional arguments
  • datacenter (defaults to null)
  • id (defaults to null)
  • token (defaults to null)
  • service (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
consul_catalog_entry {
  name = "catalog_entry";
  address = …;  # required
  node = …;  # required
}

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