From 2b9f5f5f6f3604806e18224c0103b1417e3ea63a Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Mon, 17 Oct 2016 15:35:10 -0500 Subject: [PATCH] Add support for AWS US East (Ohio) region. --- builtin/providers/aws/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builtin/providers/aws/config.go b/builtin/providers/aws/config.go index 101a450a85a2..a4116ad2b229 100644 --- a/builtin/providers/aws/config.go +++ b/builtin/providers/aws/config.go @@ -293,7 +293,7 @@ func (c *Config) Client() (interface{}, error) { // ValidateRegion returns an error if the configured region is not a // valid aws region and nil otherwise. func (c *Config) ValidateRegion() error { - var regions = [13]string{ + var regions = []string{ "ap-northeast-1", "ap-northeast-2", "ap-south-1", @@ -304,6 +304,7 @@ func (c *Config) ValidateRegion() error { "eu-west-1", "sa-east-1", "us-east-1", + "us-east-2", "us-gov-west-1", "us-west-1", "us-west-2",