You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual result:
Terraform wants to recreate the instance.
~ aws_instance.test_instance
associate_public_ip_address: "false" => "0"
source_dest_check: "true" => "1"
Plan: 1 to add, 0 to change, 1 to destroy.
My use case is that I don't want the existing instances to be recreated at this time, but if any other change should trigger a recreation, it should be done with the newest AMI.
I tested a few variants of this:
Having a lifecycle present when the resource is first created, and then changing the AMI does still cause the reported issue.
Adding a lifecycle without changing AMI does not cause recreation.
The text was updated successfully, but these errors were encountered:
mwinters0
changed the title
provider/aws: bug: Instances are recreated due to "false" => "0" when triggering a change which is ignored by lifecycle
provider/aws: bug: When triggering a change which is ignored by lifecycle, instances are still recreated due to "false" => "0"
Apr 6, 2016
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 26, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to reproduce:
On terraform 0.6.14 from homebrew:
Expected result:
terraform plan
should show no change.Actual result:
Terraform wants to recreate the instance.
My use case is that I don't want the existing instances to be recreated at this time, but if any other change should trigger a recreation, it should be done with the newest AMI.
I tested a few variants of this:
The text was updated successfully, but these errors were encountered: