-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Add stopped
as a valid state for volume attachment
#1444
Conversation
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 @bodgit
this looks reasonable, do you mind adding an acceptance test so we can be sure this bug is doesn't ever come back?
I assume we'll need to stop the instance as part of the test since we don't support stopped instances in Terraform at this point for various reasons.
Let me know if you need any help with writing the test or if you want me to do it - that's ok too.
Hi @bodgit Do you think you would have time to finish this work and add the acceptance test asked by @radeksimko ? |
I've added a test that passes:
I also reverted my change and checked that the test also fails correctly. |
Thanks for adding the test here - this looks good to me now! |
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! |
Should fix #1311