diff --git a/pkg/types/config/parser.go b/pkg/types/config/parser.go index d2b92acfcfd..ab0d98667c1 100644 --- a/pkg/types/config/parser.go +++ b/pkg/types/config/parser.go @@ -33,7 +33,7 @@ func ParseConfig(data []byte) (*Cluster, error) { cluster.PullSecret = string(data) } - if cluster.EC2AMIOverride == "" { + if cluster.Platform == PlatformAWS && cluster.EC2AMIOverride == "" { ctx, cancel := context.WithTimeout(context.TODO(), 30*time.Second) defer cancel()