From dac172c1cb57b47fcb9f225493942eeb1e170c10 Mon Sep 17 00:00:00 2001 From: Geosung Lee Date: Wed, 12 Apr 2017 21:17:42 +0900 Subject: [PATCH] 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. --- upup/pkg/fi/cloudup/populate_instancegroup_spec.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/upup/pkg/fi/cloudup/populate_instancegroup_spec.go b/upup/pkg/fi/cloudup/populate_instancegroup_spec.go index bd58d12430..ab5584db4f 100644 --- a/upup/pkg/fi/cloudup/populate_instancegroup_spec.go +++ b/upup/pkg/fi/cloudup/populate_instancegroup_spec.go @@ -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{