Merge pull request #4274 from mitchellh/4273
add ca-central-1 to list of known aws regions.
This commit is contained in:
commit
9cf842b84e
|
@ -1,5 +1,6 @@
|
||||||
package common
|
package common
|
||||||
|
|
||||||
|
// aws ec2 describe-regions --query 'Regions[].{Name:RegionName}' --output text | sed 's/\(.*\)/"\1",/' | sort
|
||||||
func listEC2Regions() []string {
|
func listEC2Regions() []string {
|
||||||
return []string{
|
return []string{
|
||||||
"ap-northeast-1",
|
"ap-northeast-1",
|
||||||
|
@ -7,15 +8,17 @@ func listEC2Regions() []string {
|
||||||
"ap-south-1",
|
"ap-south-1",
|
||||||
"ap-southeast-1",
|
"ap-southeast-1",
|
||||||
"ap-southeast-2",
|
"ap-southeast-2",
|
||||||
"cn-north-1",
|
"ca-central-1",
|
||||||
"eu-central-1",
|
"eu-central-1",
|
||||||
"eu-west-1",
|
"eu-west-1",
|
||||||
"sa-east-1",
|
"sa-east-1",
|
||||||
"us-east-1",
|
"us-east-1",
|
||||||
"us-east-2",
|
"us-east-2",
|
||||||
"us-gov-west-1",
|
|
||||||
"us-west-1",
|
"us-west-1",
|
||||||
"us-west-2",
|
"us-west-2",
|
||||||
|
// not part of autogenerated list
|
||||||
|
"us-gov-west-1",
|
||||||
|
"cn-north-1",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue