From e94bffe898d93956cb7fb17d75fdd841f5d6a52d Mon Sep 17 00:00:00 2001 From: Pau Date: Fri, 22 Sep 2023 12:34:01 +0200 Subject: [PATCH] Fix endpoint --- pkg/providers/pricing/pricing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/providers/pricing/pricing.go b/pkg/providers/pricing/pricing.go index a10a95afc8f5..3faa5b3c8226 100644 --- a/pkg/providers/pricing/pricing.go +++ b/pkg/providers/pricing/pricing.go @@ -90,7 +90,7 @@ func NewAPI(sess *session.Session, region string) pricingiface.PricingAPI { if strings.HasPrefix(region, "ap-") { pricingAPIRegion = "ap-south-1" } else if strings.HasPrefix(region, "cn-") { - pricingAPIRegion = "cn-north-1" + pricingAPIRegion = "cn-northwest-1" } else if strings.HasPrefix(region, "eu-") { pricingAPIRegion = "eu-central-1" }