From 43412d93b8c5eecbe1ca196d62424e6812a89350 Mon Sep 17 00:00:00 2001
From: Terraform IBM Modules Operations
<106112202+terraform-ibm-modules-ops@users.noreply.github.com>
Date: Tue, 29 Oct 2024 16:12:33 +0000
Subject: [PATCH] fix(deps): update terraform
github.com/terraform-ibm-modules/terraform-ibm-landing-zone to v6.2.1 (#33)
---
solutions/e2e/README.md | 2 +-
solutions/e2e/main.tf | 2 +-
tests/pr_test.go | 14 +++++++++++---
3 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/solutions/e2e/README.md b/solutions/e2e/README.md
index 98978d7..b1cbc84 100644
--- a/solutions/e2e/README.md
+++ b/solutions/e2e/README.md
@@ -115,7 +115,7 @@ statement instead the previous block.
|------|--------|---------|
| [app\_tier\_autoscale](#module\_app\_tier\_autoscale) | github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vsi-autoscale | v1.0.2 |
| [data\_tier\_vsi](#module\_data\_tier\_vsi) | terraform-ibm-modules/landing-zone-vsi/ibm | 4.2.0 |
-| [landing\_zone](#module\_landing\_zone) | git::https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone.git//patterns/vsi/module | v6.1.2 |
+| [landing\_zone](#module\_landing\_zone) | git::https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone.git//patterns/vsi/module | v6.2.1 |
| [private\_secret\_engine](#module\_private\_secret\_engine) | terraform-ibm-modules/secrets-manager-private-cert-engine/ibm | 1.3.3 |
| [secrets\_manager\_group](#module\_secrets\_manager\_group) | terraform-ibm-modules/secrets-manager-secret-group/ibm | 1.2.2 |
| [secrets\_manager\_private\_certificate](#module\_secrets\_manager\_private\_certificate) | terraform-ibm-modules/secrets-manager-private-cert/ibm | 1.3.1 |
diff --git a/solutions/e2e/main.tf b/solutions/e2e/main.tf
index ada13fc..6c159cd 100644
--- a/solutions/e2e/main.tf
+++ b/solutions/e2e/main.tf
@@ -7,7 +7,7 @@
##############################################################################
module "landing_zone" {
- source = "git::https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone.git//patterns/vsi/module?ref=v6.1.2"
+ source = "git::https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone.git//patterns/vsi/module?ref=v6.2.1"
prefix = var.prefix
region = var.region
ssh_public_key = var.ssh_key
diff --git a/tests/pr_test.go b/tests/pr_test.go
index a3b86af..b2027ae 100644
--- a/tests/pr_test.go
+++ b/tests/pr_test.go
@@ -14,6 +14,10 @@ import (
const defaultExampleTerraformDir = "solutions/e2e"
+// Need to use different regions per test to ensure there is no clash in SSH keys as ssh key value has to be unique per VPC region
+const region1 = "us-south"
+const region2 = "us-east"
+
var sharedInfoSvc *cloudinfo.CloudInfoService
func TestMain(m *testing.M) {
@@ -26,14 +30,18 @@ func TestMain(m *testing.M) {
sshPrivateKey := "<