rancher2_cluster_sync

Nivis 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 to null)
  • state_confirm (defaults to null)
  • synced (defaults to null)
  • wait_catalogs (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • default_project_id
  • kube_config
  • nodes
  • system_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.