From 9259bd7133293ae9ce8696a00519ab2d597c5dfb Mon Sep 17 00:00:00 2001 From: Brian Bland Date: Tue, 9 Feb 2016 19:41:13 -0800 Subject: [PATCH] [driver/s3] Adds support for ap-northeast-2 region Updates docker/goamz dependency Signed-off-by: Brian Bland --- Godeps/Godeps.json | 6 ++--- .../src/github.com/docker/goamz/aws/aws.go | 1 + .../github.com/docker/goamz/aws/regions.go | 24 +++++++++++++++++++ 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 4f281e209..db88cb2a3 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -77,15 +77,15 @@ }, { "ImportPath": "github.com/docker/goamz/aws", - "Rev": "29510ec7eba995a3750f6b38128c5318f8b71592" + "Rev": "f0a21f5b2e12f83a505ecf79b633bb2035cf6f85" }, { "ImportPath": "github.com/docker/goamz/cloudfront", - "Rev": "29510ec7eba995a3750f6b38128c5318f8b71592" + "Rev": "f0a21f5b2e12f83a505ecf79b633bb2035cf6f85" }, { "ImportPath": "github.com/docker/goamz/s3", - "Rev": "29510ec7eba995a3750f6b38128c5318f8b71592" + "Rev": "f0a21f5b2e12f83a505ecf79b633bb2035cf6f85" }, { "ImportPath": "github.com/docker/libtrust", diff --git a/Godeps/_workspace/src/github.com/docker/goamz/aws/aws.go b/Godeps/_workspace/src/github.com/docker/goamz/aws/aws.go index 013b2536a..ac8340ad4 100644 --- a/Godeps/_workspace/src/github.com/docker/goamz/aws/aws.go +++ b/Godeps/_workspace/src/github.com/docker/goamz/aws/aws.go @@ -75,6 +75,7 @@ type Region struct { var Regions = map[string]Region{ APNortheast.Name: APNortheast, + APNortheast2.Name: APNortheast2, APSoutheast.Name: APSoutheast, APSoutheast2.Name: APSoutheast2, EUCentral.Name: EUCentral, diff --git a/Godeps/_workspace/src/github.com/docker/goamz/aws/regions.go b/Godeps/_workspace/src/github.com/docker/goamz/aws/regions.go index 7755bc7ff..0406648dc 100644 --- a/Godeps/_workspace/src/github.com/docker/goamz/aws/regions.go +++ b/Godeps/_workspace/src/github.com/docker/goamz/aws/regions.go @@ -216,6 +216,30 @@ var APNortheast = Region{ "https://elasticache.ap-northeast-1.amazonaws.com", } +var APNortheast2 = Region{ + "ap-northeast-2", + ServiceInfo{"https://ec2.ap-northeast-2.amazonaws.com", V2Signature}, + "https://s3-ap-northeast-2.amazonaws.com", + "", + true, + true, + "", + "https://sns.ap-northeast-2.amazonaws.com", + "https://sqs.ap-northeast-2.amazonaws.com", + "", + "https://iam.amazonaws.com", + "https://elasticloadbalancing.ap-northeast-2.amazonaws.com", + "https://kms.ap-northeast-2.amazonaws.com", + "https://dynamodb.ap-northeast-2.amazonaws.com", + ServiceInfo{"https://monitoring.ap-northeast-2.amazonaws.com", V2Signature}, + "https://autoscaling.ap-northeast-2.amazonaws.com", + ServiceInfo{"https://rds.ap-northeast-2.amazonaws.com", V2Signature}, + "https://kinesis.ap-northeast-2.amazonaws.com", + "https://sts.ap-northeast-2.amazonaws.com", + "https://cloudformation.ap-northeast-2.amazonaws.com", + "https://elasticache.ap-northeast-2.amazonaws.com", +} + var SAEast = Region{ "sa-east-1", ServiceInfo{"https://ec2.sa-east-1.amazonaws.com", V2Signature},