Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions mmv1/products/apihub/ApiHubInstance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ examples:
vars:
instance_id: test-instance-full
exclude_test: true
- name: apihub_api_hub_instance_full_merge_conflict_test
primary_resource_id: apihub-instance-search
vars:
instance_id: test-instance-full
exclude_test: true
autogen_async: true
exclude_delete: true
async:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
resource "google_apihub_api_hub_instance" "{{$.PrimaryResourceId}}"{
project = "my-project"
api_hub_instance_id = "{{index $.Vars "instance_id"}}"
description = "Test API hub instance"
location = "us-central1"
config {
encryption_type = "CMEK"
cmek_key_name = "projects/my-project/locations/us-central1/keyRings/apihub/cryptoKeys/apihub-key"
disable_search = false
vertex_location = "us"
}
labels = {
environment = "dev"
}
}
Loading