ns1_datasource

Nivis Nix constructor for the ns1_datasource resource (provider ns1). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  sourcetype,
  config ? null,
  id ? null,
  cfg_name ? null,
  overrides ? {}
}
Required arguments
  • sourcetype
Optional arguments
  • config (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
ns1_datasource {
  name = "datasource";
  sourcetype = …;  # required
}

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