rancher2_config_map_v2Nivis Nix constructor for the rancher2_config_map_v2 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,
cluster_id,
data,
annotations ? null,
id ? null,
immutable ? null,
labels ? null,
cfg_name ? null,
namespace ? null,
timeouts ? null,
overrides ? {}
}Required arguments
cluster_iddata
Optional arguments
annotations(defaults tonull)id(defaults tonull)immutable(defaults tonull)labels(defaults tonull)cfg_name(defaults tonull)namespace(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
resource_version
Example
rancher2_config_map_v2 {
name = "config_map_v2";
cluster_id = …; # required
data = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.