File tree 2 files changed +8
-2
lines changed
products/cloudaicompanion
third_party/terraform/services/gemini
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ examples:
29
29
cri_id : ' "cri-example"'
30
30
exclude_test : true
31
31
autogen_async : true
32
+ timeouts :
33
+ insert_minutes : 90
34
+ update_minutes : 90
35
+ delete_minutes : 90
32
36
async :
33
37
operation :
34
38
timeouts :
Original file line number Diff line number Diff line change @@ -11,8 +11,10 @@ import (
11
11
)
12
12
13
13
func TestAccGeminiCodeRepositoryIndex_update(t *testing.T) {
14
+ bootstrappedKMS := acctest.BootstrapKMSKeyInLocation(t, "us-central1")
14
15
context := map[string]interface{}{
15
16
"project_id": os.Getenv("GOOGLE_PROJECT"),
17
+ "kms_key": bootstrappedKMS.CryptoKey.Name,
16
18
}
17
19
18
20
acctest.VcrTest(t, resource.TestCase{
@@ -48,7 +50,7 @@ resource "google_gemini_code_repository_index" "example" {
48
50
labels = {"ccfe_debug_note": "terraform_e2e_should_be_deleted"}
49
51
location = "us-central1"
50
52
code_repository_index_id = "test-cri-index-example"
51
- kms_key = "projects/cloud-code-rag-github-access/locations/us-central1/keyRings/keyring-example-basic1/cryptoKeys/crypto-key-example "
53
+ kms_key = "%{kms_key} "
52
54
}
53
55
`, context)
54
56
}
@@ -60,7 +62,7 @@ resource "google_gemini_code_repository_index" "example" {
60
62
labels = {"ccfe_debug_note": "terraform_e2e_should_be_deleted", "new_label": "new_val"}
61
63
location = "us-central1"
62
64
code_repository_index_id = "test-cri-index-example-update"
63
- kms_key = "projects/cloud-code-rag-github-access/locations/us-central1/keyRings/keyring-example-basic1/cryptoKeys/crypto-key-example "
65
+ kms_key = "%{kms_key} "
64
66
}
65
67
`, context)
66
68
}
You can’t perform that action at this time.
0 commit comments