From 8c229ac62a77c7ee264bde4f6cf78e659d1e422b Mon Sep 17 00:00:00 2001 From: Juned Memon Date: Mon, 16 Sep 2019 14:06:26 +0530 Subject: [PATCH 1/2] Added missing regions --- fargate/region.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fargate/region.go b/fargate/region.go index 37beec3..0984246 100644 --- a/fargate/region.go +++ b/fargate/region.go @@ -6,6 +6,7 @@ import ( // Regions is the set of AWS regions where a service is available. // https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/ +// https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html type Regions []string var ( @@ -24,6 +25,9 @@ var ( "us-east-2", // US East (Ohio) "us-west-1", // US West (N. California) "us-west-2", // US West (Oregon) + "us-gov-west-1", // AWS GovCloud (US) + "us-gov-east-1", //AWS GovCloud (US-East) + "ap-east-1", // Asia Pacific (Hong Kong) } ) From aea9d024294626c54a845a3e124c915d9f20614f Mon Sep 17 00:00:00 2001 From: Juned Memon Date: Mon, 16 Sep 2019 15:19:28 +0530 Subject: [PATCH 2/2] Replace the thrift.git in go.mod --- go.mod | 2 ++ go.sum | 2 ++ 2 files changed, 4 insertions(+) diff --git a/go.mod b/go.mod index e5d68c7..060c674 100644 --- a/go.mod +++ b/go.mod @@ -51,3 +51,5 @@ replace k8s.io/client-go => k8s.io/client-go v11.0.1-0.20190606204521-b8faab9c51 replace k8s.io/kubernetes => k8s.io/kubernetes v1.14.3 replace go.opencensus.io => go.opencensus.io v0.19.3 + +replace git.apache.org/thrift.git => github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999 diff --git a/go.sum b/go.sum index 6b991d5..3214da9 100644 --- a/go.sum +++ b/go.sum @@ -13,6 +13,8 @@ github.com/PuerkitoBio/purell v1.1.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbt github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999 h1:btlJ8oUpVIaJj+kl2yh/ACoII+MltLj1vukud/FwOvw= +github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/aws/aws-sdk-go v1.20.1 h1:p9ETyEP9iBPTLul2PHJblv5Iw0PKP10YK6DC5nMTzYM= github.com/aws/aws-sdk-go v1.20.1/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=