What I need is terraform analog for CloudFormation's DeletionPolicy: Retain
.
The resource should be left as is during terraform destroy
, that's all.
prevent_destroy
does not fit because the whole environment going to be deleted during terraform destroy
ignore_changes
does not fit because there's no parameter's change.
How can I do it?