Adding one more resource resource_xray_settings. It will set Xray DB Sync time for now, with possible expansion for other settings. Thus the name is generic, settings, not db_sync.
-DB Sync Time API doesn't have create and delete functionality. See the docs.
Since we must implement all CRUD operations in the provider, I used a workaround - delete function just removes the object from the TF state, create function does the update call.
Sync time is set by default during the Xray installation, so there is no need to create it and no need to delete it.
resource_xray_settings
. It will set Xray DB Sync time for now, with possible expansion for other settings. Thus the name is generic,settings
, notdb_sync
. -DB Sync Time API doesn't have create and delete functionality. See the docs.