rancher2_secret

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

Constructor
{
  name,
  data,
  project_id,
  annotations ? null,
  description ? null,
  id ? null,
  labels ? null,
  cfg_name ? null,
  namespace_id ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • data
  • project_id
Optional arguments
  • annotations (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • labels (defaults to null)
  • cfg_name (defaults to null)
  • namespace_id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
rancher2_secret {
  name = "secret";
  data = …;  # required
  project_id = …;  # required
}

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