Merge pull request #9414 from mattmoyer/us-east-2
provider/aws: Add support for AWS US East (Ohio) region.
This commit is contained in:
commit
e95b591738
|
@ -293,7 +293,7 @@ func (c *Config) Client() (interface{}, error) {
|
||||||
// ValidateRegion returns an error if the configured region is not a
|
// ValidateRegion returns an error if the configured region is not a
|
||||||
// valid aws region and nil otherwise.
|
// valid aws region and nil otherwise.
|
||||||
func (c *Config) ValidateRegion() error {
|
func (c *Config) ValidateRegion() error {
|
||||||
var regions = [13]string{
|
var regions = []string{
|
||||||
"ap-northeast-1",
|
"ap-northeast-1",
|
||||||
"ap-northeast-2",
|
"ap-northeast-2",
|
||||||
"ap-south-1",
|
"ap-south-1",
|
||||||
|
@ -304,6 +304,7 @@ func (c *Config) ValidateRegion() error {
|
||||||
"eu-west-1",
|
"eu-west-1",
|
||||||
"sa-east-1",
|
"sa-east-1",
|
||||||
"us-east-1",
|
"us-east-1",
|
||||||
|
"us-east-2",
|
||||||
"us-gov-west-1",
|
"us-gov-west-1",
|
||||||
"us-west-1",
|
"us-west-1",
|
||||||
"us-west-2",
|
"us-west-2",
|
||||||
|
|
Loading…
Reference in New Issue