Currently if you change aws instance(ebs root storage) type this will cause instance re-creation.
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
But AWS allows to change instance type only by stopping it, changing instance size and start it. CFN also in case of change of instance size just stop, change and start instance
@partamonov several improvements must be done about aws_instance resources and other dependencies; currently terraform have an approach where several resources modified need to be recreated.
Hey @partamonov – I'm going to close this as a duplicate of #1887 and/or #1579 . The need to manage stop or other state like this noted there. Thanks!
Is this in a plan to be fixed? It would be great if the instance survived.
For folks landing here from a google search: it looks like this feature was implemented in issue #9157 (see pull #11998), which was included in the terraform-0.8.8 release (2017-03-02).
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.
Most helpful comment
For folks landing here from a google search: it looks like this feature was implemented in issue #9157 (see pull #11998), which was included in the
terraform-0.8.8release (2017-03-02).