Remove references to deleted compute images in multiple tests #8508
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are multiple tests that refer to preconfigured images in the
bosh-gce-raw-stemcells
storage bucket. That bucket was deleted recently, so the tests began failing. That bucket was at least five years old and we never controlled it (bosh
is a Cloud Foundry tool), so it was bound to happen.Replacing the missing bucket with another preconfigured bucket will just kick the can down the road, so the tests are updated to no longer require one. There's three different fixes applied in this PR:
google_compute_image
resource was removed. These are tests that are not testinggoogle_compute_image
at all (and were likely copied and pasted from other tests that do).raw-disk-image.tar.gz
file, which is a valid but small disk image (it's mostly zeros so it compresses down to about 3KB). The tests using this method are replicating their earlier behavior, but without the preconfigured bucket.google_compute_image
references that disk. This is a bit slower than the second method but doesn't rely on a test fixture so the tests can continue to be generated.Fixes hashicorp/terraform-provider-google#19885
Fixes hashicorp/terraform-provider-google#19729
Release Note Template for Downstream PRs (will be copied)
Derived from GoogleCloudPlatform/magic-modules#12062