Philip Kirkland
274abb96b1
adding 'encrypted' option into volume dict so ec2 module can easily include encrypted volumes
2015-06-17 14:33:37 +10:00
nitzmahone
fd7bbc9eba
Added choice validation for state arg
...
fixes traceback on invalid state arg
2015-06-16 13:42:44 -07:00
Greg DeKoenigsberg
28a869a030
Updating cloud modules with proper github author information
2015-06-15 14:41:22 -04:00
Wang Qiang
31f3319b56
Do instance update after add tags to instance.
2015-05-25 09:25:11 +08:00
Brian Coca
150b71f11a
removed executable bit
2015-05-21 07:01:08 -04:00
Tom Paine
c97af02e40
Update ec2.py
...
updated default and choices to match standard
2015-05-18 21:34:57 +01:00
Tom Paine
1f7f7c7dbc
Update ec2.py
...
Update instance_type description to feature up-to-date list of instance types. Matches format of 'ebs_optimized' param which also includes a link.
Update region description to feature up-to-date list of ec2 regions. Matches format of 'ebs_optimized' param which also includes a link.
Updated choices for monitoring param to be explicit bool matching default 'yes'.
Updated choices for source_dest_check to be explicit bool matching default 'true'.
Updated tenancy choices to remove redundant phrasing in comments.
2015-05-18 21:30:18 +01:00
Tom Paine
764c3ae5a4
Update ec2.py
...
Make assign_public_ip choices explicit. People incorrectly try and assign a specific IP thinking it accepts an IP address as a value.
2015-05-18 14:21:49 +01:00
Benno Joy
601fa16ada
Merge pull request #1327 from bennojoy/issue_600
...
fixes issue #600 , where ec2 module returns instance state as running ev…
2015-05-18 11:40:02 +05:30
Benno Joy
d8b9c1f440
Merge pull request #1206 from mjfroehlich/ec2-support-mfa-auth
...
ec2: Use get_aws_connection_info to get AWS creds.
2015-05-14 17:46:29 +05:30
Benno Joy
9d9d8def6f
fixe issue #600 , where ec2 module returns instance state as runing even after instance is terminated
2015-05-14 08:29:11 +05:30
Alex Feinberg
e749184bc7
Fix a typo in create_instances
...
Fix a typo in create_instances: use 'placement_group' instead of placement_group
when calling boto_siupports_param_in_spot_request().
2015-05-04 17:14:42 -07:00
Martin Froehlich
4bcbcc8869
Use get_aws_connection_info to get AWS creds.
...
Previously used get_ec2_creds did not consider security_token,
making MFA requests fail.
2015-04-26 14:50:07 +01:00
steenzout
d960dc1584
issue #994 : use HAS_BOTO to determine if import was successful:
...
- removed import of sys module.
- HAS_BOTO constant to check if import was successful.
- trigger a failure when import fails.
- removed unnecessary imports.
2015-04-01 17:31:10 -06:00
Lorin Hochstein
ea4d5798c7
Use the correct alias syntax
2015-03-28 09:31:52 -04:00
Lorin Hochstein
e759b4d0eb
ec2 module: add instance_id alias
...
Create an alias named instance_id for the instance_ids parameter.
2015-03-28 09:31:52 -04:00
Toshio Kuratomi
31cc5f543f
Fix for py2.6 (no dict comprehensions on py2.6)
2015-03-11 19:07:55 -07:00
Toshio Kuratomi
8ed415589a
Initialize the value of vpc_id variable
2015-03-11 18:40:05 -07:00
Bret Martin
f16d8d9afb
Allow vpc_subnet_id to remain unspecified (see bc0c169
)
2015-03-06 14:59:27 -05:00
Toshio Kuratomi
9f38f6e6a2
Small code cleanup
2015-03-03 12:07:42 -08:00
Brandon W Maister
7f5aea980a
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.
2015-03-03 13:03:08 -05:00
James Cammarata
0c53b9033c
Merge pull request #747 from barraponto/ec2_instance_info
...
Add ec2 instance tags and groups info
2015-02-27 09:41:08 -06:00
Bret Martin
bc0c1692b5
ec2: make group only match group names in this VPC
2015-02-19 11:28:13 -05:00
Brian Coca
77241123a7
Revert "Revert "Don't use 'tenancy' in ec2 spot requests""
2015-02-18 11:07:13 -05:00
Brian Coca
7c42182f47
Revert "Don't use 'tenancy' in ec2 spot requests"
2015-02-18 08:59:26 -05:00
Luc Bourlier
df53b85259
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.
2015-02-10 13:43:11 +00:00
Capi Etheriel
5854f53cdc
add ec2 instance tags and groups info
2015-02-09 18:46:20 -02:00
Jean-Baptiste Barth
6090c4e109
Improve formatting after previous commit
2015-02-04 10:22:24 +01:00
Jean-Baptiste Barth
b451cbd37b
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.
2015-02-04 10:22:24 +01:00
Brian Coca
9e1847ed03
ec2 fix docs format
2015-01-21 20:09:46 -05:00
Brian Coca
95d4b796c0
updated tenancy version added
2015-01-21 17:27:40 -05:00
Brian Coca
68a49bc6fb
Merge pull request #4 from atlashealth/ec2_tenancy
...
Support for EC2 dedicated tenancy option
2015-01-21 17:18:34 -05:00
Philip Misiowiec
71d1044b8b
Adds tenancy state to returning json
2014-12-31 00:45:57 -08:00
Toshio Kuratomi
5af4463823
Gixes to doc formatting
2014-12-03 08:17:15 -08:00
Michael DeHaan
c6b0d469ac
Misc EC2 doc tweaks.
2014-12-01 14:46:07 -05:00
Philip Misiowiec
59701feadb
added version
2014-12-01 10:55:22 -08:00
Philip Misiowiec
f5789e8eda
Support for EC2 dedicated tenancy option
2014-12-01 10:55:22 -08:00
Robert Estelle
4dd099fe7a
Remove incorrect executable permissions.
2014-11-13 18:08:48 -05:00
José Moreira
03cf57c6f0
Fixed small typo on ec2 task name
2014-11-10 11:24:31 +00:00
Brian Coca
0c4adcb2c6
made subcategories for cloud modules for better organization
2014-11-04 11:18:09 -05:00