rancher2_registryNivis Nix constructor for the rancher2_registry 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,
project_id,
annotations ? null,
description ? null,
id ? null,
labels ? null,
cfg_name ? null,
namespace_id ? null,
registries ? null,
timeouts ? null,
overrides ? {}
}Required arguments
project_id
Optional arguments
annotations(defaults tonull)description(defaults tonull)id(defaults tonull)labels(defaults tonull)cfg_name(defaults tonull)namespace_id(defaults tonull)registries(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
rancher2_registry {
name = "registry";
project_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.