Skip to content

Commit

Permalink
provider/aws: allow ap-northeast-2 in region validation
Browse files Browse the repository at this point in the history
Fixes #4635
  • Loading branch information
phinze committed Jan 11, 2016
1 parent 771fba4 commit 99a7369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/providers/aws/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func (c *Config) Client() (interface{}, error) {
func (c *Config) ValidateRegion() error {
var regions = [11]string{"us-east-1", "us-west-2", "us-west-1", "eu-west-1",
"eu-central-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1",
"sa-east-1", "cn-north-1", "us-gov-west-1"}
"ap-northeast-2", "sa-east-1", "cn-north-1", "us-gov-west-1"}

for _, valid := range regions {
if c.Region == valid {
Expand Down

0 comments on commit 99a7369

Please sign in to comment.