The Lifecycle Meta-Argument
We check out the Lifecycle meta-argument to see what else we can do.
Notably, in addition to prevent_destroy
and create_before_destroy
, there is a ignore_changes
directive to help us handle cases where there are resources changes out of band of Terraform, such as RDS databases minor updates that may happen automatically or within RDS maintenance windows.