Set default master size for ap-northeast-2

The ap-northeast-2 region doesn't support the m3 family; a c4.large is
the cheapest non-burstable instance.

Please refer to the issue #1455.
This commit is contained in:
Geosung Lee 2017-04-12 21:17:42 +09:00
parent 0f26da51fc
commit dac172c1cb
1 changed files with 4 additions and 3 deletions

View File

@ -43,9 +43,10 @@ const (
var masterMachineTypeExceptions = map[string]string{
// Some regions do not (currently) support the m3 family; the c4 large is the cheapest non-burstable instance
"us-east-2": "c4.large",
"ca-central-1": "c4.large",
"eu-west-2": "c4.large",
"us-east-2": "c4.large",
"ca-central-1": "c4.large",
"eu-west-2": "c4.large",
"ap-northeast-2": "c4.large",
}
var awsDedicatedInstanceExceptions = map[string]bool{