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
Hi, I'm trying to upgrade terraform from 0.7 to 0.9.3 ,
Once I switch to new version terraform identifies that there is no resize_disk value in my current state:
according to [documentation (https://www.terraform.io/docs/providers/do/r/droplet.html#resize_disk) - this setting controls wether to allow or not disk increase, I couldn't see any possible impact by applying this change.
When I try to apply the change , the node is restarted, and in digital_ocean console I can see the following history:
Event Initiated Execution Time
Power On 1 hour ago 6 seconds
Resize 2 hours ago 17 minutes 19 seconds
Power Off 2 hours ago 11 seconds
Create 1 month ago 20 seconds
I think terraform tries to go and resize the disk to same size which involves node restart even though no changes were done in configuration.
I believe terraform should not restart node and only update state in scenario when actual disk wasn't changed or maybe documentation should be more clear about the fact that node gets restarted when no changes were made to disk configuration.
The text was updated successfully, but these errors were encountered:
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 7, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I'm trying to upgrade terraform from 0.7 to 0.9.3 ,
Once I switch to new version terraform identifies that there is no
resize_disk
value in my current state:according to [documentation (https://www.terraform.io/docs/providers/do/r/droplet.html#resize_disk) - this setting controls wether to allow or not disk increase, I couldn't see any possible impact by applying this change.
When I try to apply the change , the node is restarted, and in digital_ocean console I can see the following history:
I think terraform tries to go and resize the disk to same size which involves node restart even though no changes were done in configuration.
I believe terraform should not restart node and only update state in scenario when actual
disk
wasn't changed or maybe documentation should be more clear about the fact that node gets restarted when no changes were made todisk
configuration.The text was updated successfully, but these errors were encountered: