Skip to content

Commit 684b6f3

Browse files
Jordan-Williams2Jordan-Williams2
authored andcommitted
fix: update endpoints
1 parent cdbd31a commit 684b6f3

File tree

4 files changed

+6
-14
lines changed

4 files changed

+6
-14
lines changed

cos.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ resource "ibm_resource_key" "key" {
8181
resource "ibm_cos_bucket" "buckets" {
8282
for_each = local.buckets_map
8383

84-
depends_on = [time_sleep.wait_for_authorization_policy]
84+
depends_on = [
85+
time_sleep.wait_for_authorization_policy
86+
]
8587

8688
bucket_name = "${var.prefix}-${each.value.name}${each.value.random_suffix == "true" ? "-${random_string.random_cos_suffix.result}" : ""}"
8789
resource_instance_id = local.cos_instance_ids[each.value.instance]

patterns/vsi/override.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
{
4848
"buckets": [
4949
{
50-
"endpoint_type": "direct",
50+
"endpoint_type": "public",
5151
"force_delete": true,
5252
"kms_key": "slz-slz-key",
5353
"name": "management-bucket",
@@ -69,7 +69,7 @@
6969
}
7070
},
7171
{
72-
"endpoint_type": "direct",
72+
"endpoint_type": "public",
7373
"force_delete": true,
7474
"kms_key": "slz-slz-key",
7575
"name": "workload-bucket",

tests/pr_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -620,11 +620,6 @@ func TestRunVsiExtention(t *testing.T) {
620620
// Programmatically determine region to use based on availability
621621
region, _ := testhelper.GetBestVpcRegion(val, "../common-dev-assets/common-go-assets/cloudinfo-region-vpc-gen2-prefs.yaml", "eu-de")
622622

623-
// Exclude br-sao due to direct endpoint connectivity issues with CI/CD infrastructure
624-
if region == "br-sao" {
625-
region = "us-south" // Fallback to us-south if br-sao is selected
626-
}
627-
628623
logger.Log(t, "Tempdir: ", tempTerraformDir)
629624
existingTerraformOptions := terraform.WithDefaultRetryableErrors(t, &terraform.Options{
630625
TerraformDir: vpcTerraformDir,
@@ -685,11 +680,6 @@ func TestRunUpgradeVsiExtention(t *testing.T) {
685680
// Programmatically determine region to use based on availability
686681
region, _ := testhelper.GetBestVpcRegion(val, "../common-dev-assets/common-go-assets/cloudinfo-region-vpc-gen2-prefs.yaml", "eu-de")
687682

688-
// Exclude br-sao due to direct endpoint connectivity issues with CI/CD infrastructure
689-
if region == "br-sao" {
690-
region = "us-south" // Fallback to us-south if br-sao is selected
691-
}
692-
693683
logger.Log(t, "Tempdir: ", tempTerraformDir)
694684
existingTerraformOptions := terraform.WithDefaultRetryableErrors(t, &terraform.Options{
695685
TerraformDir: vpcTerraformDir,

vpe.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ resource "ibm_is_virtual_endpoint_gateway_ip" "endpoint_gateway_ip" {
4848
reserved_ip = ibm_is_subnet_reserved_ip.ip[each.key].reserved_ip
4949
}
5050

51-
##############################################################################\
51+
##############################################################################

0 commit comments

Comments
 (0)