Terraform Says It Will Destroy Something It Should Not
A plan showing forced replacement of a database is a good moment to stop. Here is how to read why, and the three ways state gets out of sync.
| Symbol | Meaning |
|---|---|
+ |
Create |
- |
Destroy |
~ |
Update in place, safe |
-/+ |
Destroy then create, data loss |
+/- |
Create then destroy, with create_before_destroy |
<= |
Read a data source |
Published on debugly.dev by Rohit Bhadani | Founder of Krova Cloud