Skip to content

Commit b2777c4

Browse files
Soaib024Mohammad Soaib
andauthored
fix: added eu-fr2 support in atracker routes (#785)
Co-authored-by: Mohammad Soaib <[email protected]>
1 parent 1cd3382 commit b2777c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

atracker.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
locals {
88
valid_atracker_region = contains(
9-
["us-south", "us-east", "eu-de", "eu-es", "eu-gb", "au-syd"],
9+
["us-south", "us-east", "eu-de", "eu-es", "eu-gb", "eu-fr2", "au-syd"],
1010
var.region
1111
)
1212
}

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ variable "cos" {
642642

643643
# https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/cos_bucket#region_location
644644
validation {
645-
error_message = "All regional buckets must specify `au-syd`, `eu-de`, `eu-es`, `eu-gb`, `jp-tok`, `us-east`, `us-south`, `ca-tor`, `jp-osa`, `br-sao`."
645+
error_message = "All regional buckets must specify `au-syd`, `eu-de`, `eu-es`, `eu-gb`, `eu-fr2`, `jp-tok`, `us-east`, `us-south`, `ca-tor`, `jp-osa`, `br-sao`."
646646
condition = length(
647647
[
648648
for site_bucket in flatten(
@@ -653,7 +653,7 @@ variable "cos" {
653653
bucket if lookup(bucket, "region_location", null) != null
654654
]
655655
]
656-
) : site_bucket if !contains(["au-syd", "eu-de", "eu-es", "eu-gb", "jp-tok", "us-east", "us-south", "ca-tor", "jp-osa", "br-sao"], site_bucket.region_location)
656+
) : site_bucket if !contains(["au-syd", "eu-de", "eu-es", "eu-gb", "eu-fr2", "jp-tok", "us-east", "us-south", "ca-tor", "jp-osa", "br-sao"], site_bucket.region_location)
657657
]
658658
) == 0
659659
}

0 commit comments

Comments
 (0)