Pick the fix
A plan shows -/+ aws_db_instance.main (forces replacement) for a tag change. What should you do?
Hint 1 of 1
What does -/+ mean?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Stop and find which attribute forces replacement before applying
Correct. Replacing a database can lose data.
-/+ with 'forces replacement' means the tool will destroy the database and create a new one. Find the attribute causing it first; often it is a setting that can only be set at creation.
Why not the others?
- B Apply; tags are harmless. The plan says it will replace the database.
- C Delete the state file. Makes everything worse.
- D Apply from a laptop instead. Same plan.