-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 missing field to disks and support InstantSnapshot #12946
base: main
Are you sure you want to change the base?
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @slevenick, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
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.
Is labels updatable? The whole resource is marked immutable but it has update_url set
You should be able to add a tar.gz image into our test-fixtures file (for example for the IAP product: https://github.com/GoogleCloudPlatform/magic-modules/tree/main/mmv1/third_party/terraform/services/iap/test-fixtures) and then upload it via a google_storage_object resource |
9dc099c
to
4d47a13
Compare
@slevenick This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_compute_instant_snapshot" "primary" {
description = # value needed
labels = # value needed
}
Resource: resource "google_compute_instant_snapshot_iam_binding" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
Resource: resource "google_compute_instant_snapshot_iam_member" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
|
Tests analyticsTotal tests: 1111 Click here to see the affected service packages
Action takenFound 84 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🟢 Tests passed during RECORDING mode: 🔴 Tests failed when rerunning REPLAYING mode: Tests failed due to non-determinism or randomness when the VCR replayed the response after the HTTP request was made. Please fix these to complete your PR. If you believe these test failures to be incorrect or unrelated to your change, or if you have any questions, please raise the concern with your reviewer. 🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
closes hashicorp/terraform-provider-google#16426
Added some missing fields to
google_compute_disk
. One of them issourceInstantSnapshot
so i've added the resource to create instant snapshots into terraform.One thing i'm having trouble testing is
sourceStorageObject
. It requires a Bucket with an image stored as*.tar.gz
. Only way i've found of recreating this in an acceptance test is usinggcloud image export
into the bucket but don't know if we want something like that in our tests. Please LMK!Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.