Skip to content

Commit 69fe4bb

Browse files
committed
add mock example
1 parent 54d5e28 commit 69fe4bb

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

mmv1/products/apihub/ApiHubInstance.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ examples:
3737
vars:
3838
instance_id: test-instance-full
3939
exclude_test: true
40+
- name: apihub_api_hub_instance_full_merge_conflict_test
41+
primary_resource_id: apihub-instance-search
42+
vars:
43+
instance_id: test-instance-full
44+
exclude_test: true
4045
autogen_async: true
4146
exclude_delete: true
4247
async:
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
resource "google_apihub_api_hub_instance" "{{$.PrimaryResourceId}}"{
2+
project = "my-project"
3+
api_hub_instance_id = "{{index $.Vars "instance_id"}}"
4+
description = "Test API hub instance"
5+
location = "us-central1"
6+
config {
7+
encryption_type = "CMEK"
8+
cmek_key_name = "projects/my-project/locations/us-central1/keyRings/apihub/cryptoKeys/apihub-key"
9+
disable_search = false
10+
vertex_location = "us"
11+
}
12+
labels = {
13+
environment = "dev"
14+
}
15+
}

0 commit comments

Comments
 (0)