rancher2_cluster_syncNivis Nix constructor for the rancher2_cluster_sync 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,
id ? null,
state_confirm ? null,
synced ? null,
wait_catalogs ? null,
timeouts ? null,
overrides ? {}
}Required arguments
cluster_id
Optional arguments
id(defaults tonull)state_confirm(defaults tonull)synced(defaults tonull)wait_catalogs(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
default_project_idkube_confignodessystem_project_id
Example
rancher2_cluster_sync {
name = "cluster_sync";
cluster_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.