-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Support compute reservation resize #3308
Support compute reservation resize #3308
Conversation
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 3 files changed, 115 insertions(+), 2 deletions(-)) |
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.
Looking at the downstream this api is following the update with computeOperationWaitTime
as though the API returned an operation object. But the API docs don't make it sound like this API supports operations. Also the API has invented it's own error output, which makes me think that they might return an error in a way we won't capture correctly at this time. Can you confirm that bad input (-1 count? stupid large count) returns an actionable error to the user?
ImportStateVerify: true, | ||
}, | ||
{ | ||
Config: testAccComputeReservation_basic(reservationName, "1"), |
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.
What happens if you update to 0? Is that a valid reservation count?
Adding @rambleraptor as I'm not confident the ansible code will work as is right now since there isn't any ansible update encoder modification. |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 3 files changed, 119 insertions(+), 5 deletions(-)) |
I'm not terribly worried about this for now. I'll give you a green check so you can unblock Terraform. |
I tested with a |
* support compute reservations resize * remove if custom encoder * review comments
Fixes hashicorp/terraform-provider-google#4937
Release Note Template for Downstream PRs (will be copied)