ACTIVITY
Timeline
Timeline for the post: Route53 record resource recreated by Terraform every plan/apply despite no config change
Currently licensed under: CC BY-SA 4.0
| When | What | By | License | Comment |
|---|---|---|---|---|
Oct 24, 2026, 9:21:01 AM 1mo ago | Answer | williamweb | CC BY-SA 4.0 | Most likely the provider is returning attributes in a different form/order each read. First pin the aws provider to a stable minor version and run 'terraform init' then 'terraform plan' to see if plan stops showing replaces. If diffs remain and they involve alias/list ordering, canonicalize the values (add trailing dots to FQDNs, sort lists in code) or add a temporary lifecycle.ignore_changes for the computed fields causing churn. To verify, run 'terraform plan' twice; no-change output proves the fix. If you import/remove state, do it in a maintenance window and keep DNS TTLs low for quick rollback. |
Oct 24, 2026, 9:21:01 AM 1mo ago | Solution accepted | linnea_codes | An answer was marked as the accepted solution. | |
Oct 24, 2026, 9:21:01 AM 1mo ago | Created | linnea_codes | CC BY-SA 4.0 | Route53 record resource recreated by Terraform every plan/apply despite no config change |