Basically, it just needs some valid project ID... not sure if the right fix here is to use BootstrapProject (which exists, but seems to be unused?) to create a project for this purpose, tied to the test project ID, or just hardcode a different project that we know is valid.
I'm not sure if there used to be a project called random-project and it got deleted, or if the API behavior just changed. For now, I used tdx-guest-images, which I know from other tests is a valid project, and which these accounts wouldn't have permissions on. But let me know if there's a specific project name that would be better to use for this purpose that we know will reliably exist.
Release Note Template for Downstream PRs (will be copied)
Use a valid (but different) project for the test that migrating the fleet or cluster to a different project fails
Fixes hashicorp/terraform-provider-google/issues/20253
See comments in linked issue
Basically, it just needs some valid project ID... not sure if the right fix here is to use
BootstrapProject
(which exists, but seems to be unused?) to create a project for this purpose, tied to the test project ID, or just hardcode a different project that we know is valid.I'm not sure if there used to be a project called
random-project
and it got deleted, or if the API behavior just changed. For now, I usedtdx-guest-images
, which I know from other tests is a valid project, and which these accounts wouldn't have permissions on. But let me know if there's a specific project name that would be better to use for this purpose that we know will reliably exist.Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.
Derived from https://github.com/GoogleCloudPlatform/magic-modules/pull/12307