consul_license

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

Read these from the resource's refAttr:

  • customer_id
  • expiration_time
  • features
  • installation_id
  • issue_time
  • license_id
  • product
  • start_time
  • valid
  • warnings
Example
consul_license {
  name = "license";
  license = …;  # required
}

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