Add support for AWS US East (Ohio) region.

This commit is contained in:
Matt Moyer 2016-10-17 15:35:10 -05:00
parent 0e20aa3186
commit 2b9f5f5f6f
1 changed files with 2 additions and 1 deletions

View File

@ -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",