Created
June 14, 2021 19:29
-
-
Save wwalker/d4c663c392477e166c05556edd058b62 to your computer and use it in GitHub Desktop.
terraform is confused about: 'Objects have changed outside of Terraform'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ terraform plan -var env=stage | |
aws_instance.prometheus: Refreshing state... [id=i-REDACTED] | |
aws_route53_record.prometheus: Refreshing state... [id=REDACTED_prometheus-server_A] | |
Note: Objects have changed outside of Terraform | |
Terraform detected the following changes made outside of Terraform since the last "terraform apply": | |
Unless you have made equivalent changes to your configuration, or ignored the relevant attributes using ignore_changes, the following plan may include | |
actions to undo or respond to these changes. | |
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
No changes. Your infrastructure matches the configuration. | |
Your configuration already matches the changes detected above. If you'd like to update the Terraform state to match, create and apply a refresh-only plan: | |
terraform apply -refresh-only | |
Apply plan? (y/n) y | |
Apply complete! Resources: 0 added, 0 changed, 0 destroyed. | |
(edited) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This problem was fixed by upgrading from 0.15.4 to 1.0.0. (only 0.15.5 in between)