From b20c0cfb6026c68bfb4047db86ade96116b8da2f Mon Sep 17 00:00:00 2001 From: Vasu1105 Date: Wed, 6 Dec 2023 21:25:45 +0530 Subject: [PATCH] Updates terraform scripts Signed-off-by: Vasu1105 --- test/integration/build/gcp-mm.tf | 8 ++++++++ test/integration/configuration/mm-attributes.yml | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/test/integration/build/gcp-mm.tf b/test/integration/build/gcp-mm.tf index 748179b4c..e71def391 100644 --- a/test/integration/build/gcp-mm.tf +++ b/test/integration/build/gcp-mm.tf @@ -216,6 +216,9 @@ variable "scheduler_job" { type = any } +variable "organization_envgroup_attachment" { + type = any +} resource "google_compute_ssl_policy" "custom-ssl-policy" { name = var.ssl_policy["name"] @@ -1552,3 +1555,8 @@ resource "google_vertex_ai_index" "index" { } index_update_method = "STREAM_UPDATE" } + +resource "google_apigee_envgroup_attachment" "engroup_attachment" { + envgroup_id = var.organization_envgroup_attachment.envgroup_id + environment = var.organization_envgroup_attachment.environment +} diff --git a/test/integration/configuration/mm-attributes.yml b/test/integration/configuration/mm-attributes.yml index db5c85cba..db7ee6f5b 100644 --- a/test/integration/configuration/mm-attributes.yml +++ b/test/integration/configuration/mm-attributes.yml @@ -557,3 +557,7 @@ dlp: name: "dlp-template-inspec" location: "europe-west2" type: "Infotype" + +organization_envgroup_attachment: + envgroup_id: "organizations/ppradhan/envgroups/test-env-group" + environment: "test-env"