Fix E2E test failures for Cloud Run v2, KMS, Compute VM, and update GEMINI.md (#3953)

* Update Cloud Run v2 GPU examples in README

Remove launch_stage = "BETA" from examples as it now defaults to GA in the provider. This fixes E2E test failures where the API returns GA. Reference: https://github.com/hashicorp/terraform-provider-google/pull/17029

TAG=agy

* Fix KMS and Compute VM E2E test failures

Update README examples to avoid conflicts and unsupported modes, and update corresponding inventories.

TAG=agy

* Add instruction to run a single specific example test in GEMINI.md

TAG=agy
This commit is contained in:
Ludovico Magnocavallo
2026-05-10 11:53:30 +02:00
committed by GitHub
parent 48b62ea918
commit 91fe329aca
6 changed files with 14 additions and 14 deletions

View File

@@ -887,11 +887,10 @@ GPU support is available for all types of Cloud Run resources: jobs, services an
```hcl
module "job" {
source = "./fabric/modules/cloud-run-v2"
project_id = var.project_id
name = "example-job"
region = var.region
launch_stage = "BETA"
source = "./fabric/modules/cloud-run-v2"
project_id = var.project_id
name = "example-job"
region = var.region
revision = {
gpu_zonal_redundancy_disabled = true
node_selector = {
@@ -950,11 +949,10 @@ module "service" {
```hcl
module "worker" {
source = "./fabric/modules/cloud-run-v2"
project_id = var.project_id
name = "worker"
region = var.region
launch_stage = "BETA"
source = "./fabric/modules/cloud-run-v2"
project_id = var.project_id
name = "worker"
region = var.region
revision = {
gpu_zonal_redundancy_disabled = true
node_selector = {

View File

@@ -318,7 +318,6 @@ module "vm-disk-options-example" {
}
}
data2 = {
mode = "READ_ONLY"
initialize_params = {
type = "hyperdisk-balanced"
hyperdisk = {

View File

@@ -57,7 +57,7 @@ module "kms" {
key-b-iam1 = {
key = "key-b"
member = "group:${var.group_email}"
role = "roles/cloudkms.cryptoKeyEncrypterDecrypter"
role = "roles/cloudkms.viewer"
}
}
}