nutanix / terraform-provider-nutanix

Terraform Nutanix Provider
https://www.terraform.io/docs/providers/nutanix/
Mozilla Public License 2.0
95 stars 111 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 12 months ago

bhati-pradeep commented 12 months 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.