nutanix / terraform-provider-nutanix

Terraform Nutanix Provider
https://www.terraform.io/docs/providers/nutanix/
Mozilla Public License 2.0
101 stars 112 forks source link

add functionality to mark a snapshot as latest one in time machine using resource_nutanix_ndb_database_snapshot #631

Open bhati-pradeep opened 1 year ago

bhati-pradeep commented 1 year ago

Describe the request resource_nutanix_ndb_database_snapshot should be able to mark a snapshot as latest in the respective time machine so that it can be directly used in related ops like clone or refresh clone without giving its uuid. Directly latestSnapshot can be used to point it to the latest snapshot.

Current behaviour There is no field to mark a snapshot as latest snapshot of time machine

Expected behaviour Add a field in module spec to make a snapshot, the latest in time machine.