-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Shared reservation update #5653
Shared reservation update #5653
Conversation
Oops! It looks like you're using an unknown release-note type in your changelog entries:
Please only use the types listed in /~https://github.com/GoogleCloudPlatform/magic-modules/blob/master/.ci/RELEASE_NOTES_GUIDE.md. |
Hello! I am a robot who works on Magic Modules PRs. I have detected that you are a community contributor, so your PR will be assigned to someone with a commit-bit on this repo for initial review. Thanks for your contribution! A human will be with you soon. @megan07, please review this PR or find an appropriate assignee. |
this test: "mmv1/third_party/terraform/tests/resource_compute_shared_reservation_update_test.go" is failing. I would be thankful if help me to figure out what part is wrong or how I can fix it. |
|
Oops! It looks like you're using an unknown release-note type in your changelog entries:
Please only use the types listed in /~https://github.com/GoogleCloudPlatform/magic-modules/blob/master/.ci/RELEASE_NOTES_GUIDE.md. |
Ah, |
Ah, wait, a rebase won't work quite yet- #5659 needs to get in. |
/gcbrun |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 214 insertions(+), 6 deletions(-)) |
test is failing with this error message:
|
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 214 insertions(+), 6 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.
That error indicates that the settings aren't getting read back from the API correctly. I can inspect myself w/ test logs, we've just gotta pass the linter to get those. See inline.
mmv1/third_party/terraform/tests/resource_compute_shared_reservation_update_test.go
Show resolved
Hide resolved
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 214 insertions(+), 6 deletions(-)) |
/gcbrun |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 214 insertions(+), 6 deletions(-)) |
the update test is working now for delete and add projects to the projectMap. |
mmv1/third_party/terraform/tests/resource_compute_shared_reservation_update_test.go
Show resolved
Hide resolved
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 401 insertions(+), 14 deletions(-)) |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 401 insertions(+), 14 deletions(-)) |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 401 insertions(+), 14 deletions(-)) |
/gcbrun |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 401 insertions(+), 14 deletions(-)) |
Tests were added that did not run in TeamCity:
|
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccDatasourceGoogleServiceNetworkingPeeredDnsDomain_basic|TestAccApigeeEnvironmentIamBindingGenerated|TestAccApigeeEnvironmentIamMemberGenerated|TestAccApigeeEnvironmentIamPolicyGenerated|TestAccCloudbuildWorkerPool_basic|TestAccContainerCluster_withAuthenticatorGroupsConfig You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=260307 |
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.
The test passed! 🎉
Got a few questions / comments, main blocker is the error during the call to the resourcemanager API
mmv1/third_party/terraform/tests/resource_compute_shared_reservation_update_test.go
Outdated
Show resolved
Hide resolved
Thanks Riley for all the feedback, they applied and code is already pushed. I resolved all the conversations, but not sure who has to press the resolve conversion button! |
Resolve conversation's the same thing as I don't expect the result to change, just running the test one more time. |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 401 insertions(+), 14 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.
Oh wait, I think we need to apply input: true
to some more fields. In /~https://github.com/modular-magician/terraform-provider-google-beta/compare/auto-pr-5653-old..auto-pr-5653 you can see numerous unrelated fields losing ForceNew: true
.
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 401 insertions(+), 6 deletions(-)) |
If this PR is for Terraform, I acknowledge that I have:
make test
andmake lint
to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)