deletionProtection property

Output<bool?> deletionProtection
latefinal

Whether Terraform will be prevented from destroying the instance. When a terraform destroy or pulumi up would delete the instance, the command will fail if this field is not set to false in Terraform state. When the field is set to true or unset in Terraform state, a pulumi up or terraform destroy that would delete the instance will fail. When the field is set to false, deleting the instance is allowed.

Implementation

late final pulumi.Output<bool?> deletionProtection;