deletionProtection property
Whether or not to allow the provider to destroy the instance. Unless this field is set to false
in state, a destroy or update command that deletes the instance will fail. Defaults to true.
> NOTE: This flag only protects instances from deletion within Pulumi. To protect your instances from accidental deletion across all surfaces (API, gcloud, Cloud Console and Pulumi), use the API flag settings.deletion_protection_enabled.
Implementation
late final pulumi.Output<bool?> deletionProtection;