rancher2_namespaceNivis Nix constructor for the rancher2_namespace 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,
wait_for_cluster ? null,
container_resource_limit ? null,
resource_quota ? 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)wait_for_cluster(defaults tonull)container_resource_limit(defaults tonull)resource_quota(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
rancher2_namespace {
name = "namespace";
project_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.