Terraform Validator is not an officially supported Google product; it is a library for conversion of Terraform plan data to CAI Assets. If you have been using terraform-validator directly in the past, we recommend migrating to `gcloud beta terraform vet`.
This is implemented as a general-purpose flag that can be used to skip the project sweeper any time it is useful.
However, the specific reason for adding it is for the upcoming project split for our nightly tests. When we have multiple projects initiating acceptance tests (GA, Beta, VCR), they will be sharing project-space, and can inadvertently sweep projects being used by one of the other environments.
Using this flag, we can choose one of the environments to sweep projects when no tests are being run, and then have the other environments skip the project sweeper.
If this PR is for Terraform, I acknowledge that I have:
[x] Searched through the issue tracker for an open issue that this either resolves or contributes to, commented on it to claim it, and written "fixes {url}" or "part of {url}" in this PR description. If there were no relevant open issues, I opened one and commented that I would like to work on it (not necessary for very small changes).
[x] Ensured that all new fields I added that can be set by a user appear in at least one example (for generated resources) or third_party test (for handwritten resources or update tests).
[x] Ran relevant acceptance tests using my own Google Cloud project and credentials (If the acceptance tests do not yet pass or you are unable to run them, please let your reviewer know).
This is implemented as a general-purpose flag that can be used to skip the project sweeper any time it is useful.
However, the specific reason for adding it is for the upcoming project split for our nightly tests. When we have multiple projects initiating acceptance tests (GA, Beta, VCR), they will be sharing project-space, and can inadvertently sweep projects being used by one of the other environments.
Using this flag, we can choose one of the environments to sweep projects when no tests are being run, and then have the other environments skip the project sweeper.
If this PR is for Terraform, I acknowledge that I have:
make test
andmake lint
in the generated providers to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)
Derived from https://github.com/GoogleCloudPlatform/magic-modules/pull/7432