Commit Graph

120 Commits (b533ebe20d274d3d7d1acb0dafa6affe54f69f8b)

Author SHA1 Message Date
Bret Martin 650a7365f9 Allow vpc_subnet_id to remain unspecified (see bc0c169) 2016-12-08 11:22:47 -05:00
Toshio Kuratomi 49511ea078 Small code cleanup 2016-12-08 11:22:46 -05:00
Brandon W Maister 2121bbc208 ec2: Apply all security groups at instance-creation
The code was picking out the first instance from the security groups
specified, even when multiple groups were specified. Now we use all of
them.
2016-12-08 11:22:46 -05:00
Capi Etheriel 103caa2853 add ec2 instance tags and groups info 2016-12-08 11:22:44 -05:00
Bret Martin ed3f1a133b ec2: make group only match group names in this VPC 2016-12-08 11:22:43 -05:00
Brian Coca cd7f498755 Revert "Revert "Don't use 'tenancy' in ec2 spot requests"" 2016-12-08 11:22:43 -05:00
Brian Coca 6e55a0324b Revert "Don't use 'tenancy' in ec2 spot requests" 2016-12-08 11:22:43 -05:00
Luc Bourlier ae97d76a12 Don't use 'tenancy' in ec2 spot requests
The problem was introduced in commit f5789e8e. 'tenancy' is a parameter of
ec2.run_instances, but not in ec2.request_spot_instances. So it was breaking
the support for spot requests.
2016-12-08 11:22:41 -05:00
Jean-Baptiste Barth c0b2960892 Improve formatting after previous commit 2016-12-08 11:22:41 -05:00
Jean-Baptiste Barth 58ff9bece2 EC2: move logic about terminated instances up (#423)
As stated in #423, the commit 7f11c3d broke ec2 spot instance launching
after 1.7.2. This is because it acts on the 'res' variable which have 2
different types in the method, and in case we request spot instances,
the resulting object is not a result of ec2.run_instances() but
ec2.request_spot_instances(). Actually this fix doesn't seem to be
relevant in the spot instances case, because by construction we won't
retrieve 'terminated' instances in the end.
2016-12-08 11:22:40 -05:00
Brian Coca f90da6b2ba ec2 fix docs format 2016-12-08 11:22:39 -05:00
Brian Coca 1f1ebf248f updated tenancy version added 2016-12-08 11:22:39 -05:00
Philip Misiowiec f3abfa0f19 Adds tenancy state to returning json 2016-12-08 11:22:37 -05:00
Philip Misiowiec c57c1ea419 added version 2016-12-08 11:22:35 -05:00
Philip Misiowiec 23668e41b0 Support for EC2 dedicated tenancy option 2016-12-08 11:22:35 -05:00
Toshio Kuratomi cd7cc07e85 Gixes to doc formatting 2016-12-08 11:22:31 -05:00
Michael DeHaan 590d20db24 Misc EC2 doc tweaks. 2016-12-08 11:22:29 -05:00
Robert Estelle 4e2d05b1f3 Remove incorrect executable permissions. 2016-12-08 11:22:26 -05:00
José Moreira 82450c6811 Fixed small typo on ec2 task name 2016-12-08 11:22:25 -05:00
Brian Coca 32e85c0944 made subcategories for cloud modules for better organization 2016-12-08 11:22:24 -05:00