Implement a CLI command in iot-manager that syncs all devices available in the service, across all different tenants, to the Cloud providers. This CLI will be invoked periodically via cronjobs to ensure the devices are fully in sync.
- Loop over all the devices, sorted by tenant ID
- Check if the device is available in the cloud provider
- If yes, sync the state
- If no, provision it
- New CLI command is available (sync-devices)
- Cronjob in the saas/helm repos run the CLI once a day