-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify root volume size without instance recreation #1396
Modify root volume size without instance recreation #1396
Conversation
f15a467
to
bbcbcf1
Compare
Hi @radeksimko any news here? We have tested this with our AWS setup and it seems to work fine, not sure if there is anything missing in the PR for you guys to review and merge |
Any news on this? We have some needs for that feature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @viscat
thanks for raising the PR and attaching an acceptance test. Sorry it took us so long to get to this PR.
I left you some comments there, the most important one is about matching the right volume.
Thank you very much @radeksimko for all the feedback. I will also check the conflicts with master branch. I will fix and improve what you pointed out as soon as possible. |
Any update on merging this ? |
👋 @viscat Thanks. |
Hi @viscat 👋 will you have time to implement the feedback above? If not, just let us know. Thanks. |
I hope this PR will be merged soon |
Sorry @bflad right now I can't do it. |
…ation Fixes: hashicorp#768 make testacc TEST=./aws TESTARGS='-run=TestAccAWSInstance_changeRootBlockDeviceVolumeSize' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -run=TestAccAWSInstance_changeRootBlockDeviceVolumeSize -timeout 120m === RUN TestAccAWSInstance_changeRootBlockDeviceVolumeSize --- PASS: TestAccAWSInstance_changeRootBlockDeviceVolumeSize (514.63s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 514.642s
bbcbcf1
to
5948d65
Compare
@radeksimko @bflad Sorry for taking so long to take it again. I made the fixes and improved that you requested. Thank you for the feedback! The only thing I am not able to figure out is how to determine which is the RBD. I have been looking the AWS API doc and I can't find anything. Can you help me with this please? I can try to get in touch with AWS support anyways. |
@radeksimko Can we merge this? |
@bflad Hey guys, what's stopping us from merging this? |
Hi @viscat, thanks for your patience. I completely understand if you're not wanting to continue working on this, and we can take it over if you want. If you are still interested, I have two requests:
|
I've created #12620 to continue this work |
This has been released in version 2.58.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
This is my first PR to Terraform, and I guess it will not be the last one. Terraform (also Packer) helped me a lot, and I think it's time to contribute a little :)
Using the recently AWS feature to modify root volume size without forcing new instance, I added a call to AWS API to modify it on the fly. I added an acceptance test to check the volume size update is done without instance recreation.
Fixes #768