Added t2 instance types
New t2 instance types require HVM amis, bailout assumption of pvm causes failures when using t2 instance types. Author: Basit Mustafa <basitmustafa@computes-things-for-basit.local> Closes #1446 from 24601/master and squashes the following commits: 01fe128 [Basit Mustafa] Makin' it pretty 392a95e [Basit Mustafa] Added t2 instance types
This commit is contained in:
parent
30b8d369d4
commit
7f87ab9813
|
@ -240,7 +240,10 @@ def get_spark_ami(opts):
|
||||||
"r3.xlarge": "hvm",
|
"r3.xlarge": "hvm",
|
||||||
"r3.2xlarge": "hvm",
|
"r3.2xlarge": "hvm",
|
||||||
"r3.4xlarge": "hvm",
|
"r3.4xlarge": "hvm",
|
||||||
"r3.8xlarge": "hvm"
|
"r3.8xlarge": "hvm",
|
||||||
|
"t2.micro": "hvm",
|
||||||
|
"t2.small": "hvm",
|
||||||
|
"t2.medium": "hvm"
|
||||||
}
|
}
|
||||||
if opts.instance_type in instance_types:
|
if opts.instance_type in instance_types:
|
||||||
instance_type = instance_types[opts.instance_type]
|
instance_type = instance_types[opts.instance_type]
|
||||||
|
|
Loading…
Reference in a new issue