Curverneur opened a new pull request, #268: URL: https://github.com/apache/cloudstack-terraform-provider/pull/268
## Description Add support for enabling the delete protection for instances (virtual machines) and volumes (disks). ## Reason This feature allows users to enable the delete protection for certain resources to prevent accidental deletion. ## References - Blog: https://www.shapeblue.com/delete-protection-for-instances-and-volumes/ - Documentation: - https://docs.cloudstack.apache.org/en/latest/adminguide/virtual_machines.html#instance-delete-protection - https://docs.cloudstack.apache.org/en/latest/adminguide/storage.html#volume-delete-protection - API: - updateVirtualMachine: https://cloudstack.apache.org/api/apidocs-4.22/apis/updateVirtualMachine.html - updateVolume: https://cloudstack.apache.org/api/apidocs-4.22/apis/updateVolume.html ## Changes Added deleteprotection option to `cloudstack_instance` and `cloudstack_disk` resource and updated the corresponding documentation pages. - modified `cloudstack/resource_cloudstack_instance.go` - modified `cloudstack/resource_cloudstack_disk.go` - modified `website/docs/r/instance.html.markdown` - modified `website/docs/r/disk.html.markdown` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
