From cd4b957f9c8103e8c5f88b21e034ae64f36bee04 Mon Sep 17 00:00:00 2001 From: Mark Anderson-Trocme Date: Tue, 13 Sep 2022 10:31:52 -0400 Subject: [PATCH] feat: Added support for me-central-1 region (#11) --- examples/pricing-resources/main.tf | 2 +- modules/pricing/filters.tf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/pricing-resources/main.tf b/examples/pricing-resources/main.tf index e90a04d..24e9434 100644 --- a/examples/pricing-resources/main.tf +++ b/examples/pricing-resources/main.tf @@ -14,7 +14,7 @@ module "pricing" { } "aws_instance.this2" = { instanceType = "t3.large" - location = "ap-southeast-3" + location = "me-central-1" } } } diff --git a/modules/pricing/filters.tf b/modules/pricing/filters.tf index 9297193..abb4904 100644 --- a/modules/pricing/filters.tf +++ b/modules/pricing/filters.tf @@ -285,6 +285,7 @@ locals { eu-south-1 = "EUS1-NatGateway-Hours" eu-north-1 = "EUN1-NatGateway-Hours" me-south-1 = "MES1-NatGateway-Hours" + me-central-1 = "MEC1-NatGateway-Hours" sa-east-1 = "SAE1-NatGateway-Hours" us-gov-west-1 = "UGW1-NatGateway-Hours" us-gov-east-1 = "UGE1-NatGateway-Hours" @@ -315,6 +316,7 @@ locals { eu-south-1 = "EUS1-LoadBalancerUsage" eu-north-1 = "EUN1-LoadBalancerUsage" me-south-1 = "MES1-LoadBalancerUsage" + me-central-1 = "MEC1-LoadBalancerUsage" sa-east-1 = "SAE1-LoadBalancerUsage" us-gov-west-1 = "UGW1-LoadBalancerUsage" us-gov-east-1 = "UGE1-LoadBalancerUsage" @@ -345,6 +347,7 @@ locals { eu-south-1 = "EUS1-EBS:SnapshotUsage" eu-north-1 = "EUN1-EBS:SnapshotUsage" me-south-1 = "MES1-EBS:SnapshotUsage" + me-central-1 = "MEC1-EBS:SnapshotUsage" sa-east-1 = "SAE1-EBS:SnapshotUsage" us-gov-west-1 = "UGW1-EBS:SnapshotUsage" us-gov-east-1 = "UGE1-EBS:SnapshotUsage"