Skip to content

Commit 1f4eb53

Browse files
feat: add connection with artifact registry (#419)
Co-authored-by: Ayushi <ayushiverma@google.com>
1 parent 57f6e2f commit 1f4eb53

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

modules/v2/metadata.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,12 @@ spec:
238238
spec:
239239
outputExpr: "{\"VERTEX_AI_FEATURE_ONLINE_STORE_ID\": feature_online_store_id}"
240240
inputPath: env_vars
241+
- source:
242+
source: github.com/GoogleCloudPlatform/terraform-google-artifact-registry
243+
version: ">= 0.5.0"
244+
spec:
245+
outputExpr: "{\"ARTIFACT_REGISTRY_REPOSITORY_ID\": artifact_id}"
246+
inputPath: env_vars
241247
- name: node_selector
242248
description: Node Selector describes the hardware requirements of the GPU resource. [More info](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_run_v2_service#nested_template_node_selector).
243249
varType: |-
@@ -327,6 +333,11 @@ spec:
327333
version: ">= 2.3.1"
328334
spec:
329335
outputExpr: "[\"roles/aiplatform.user\"]"
336+
- source:
337+
source: github.com/GoogleCloudPlatform/terraform-google-artifact-registry
338+
version: ">= 0.5.0"
339+
spec:
340+
outputExpr: "[\"roles/artifactregistry.admin\"]"
330341
- name: ingress
331342
description: Restricts network access to your Cloud Run service
332343
varType: string

0 commit comments

Comments
 (0)