Merge pull request #1250 from afeinberg/patch-1
Fix a typo in create_instances
This commit is contained in:
commit
a9781b3712
1 changed files with 1 additions and 1 deletions
|
@ -939,7 +939,7 @@ def create_instances(module, ec2, vpc, override_count=None):
|
||||||
if private_ip:
|
if private_ip:
|
||||||
module.fail_json(
|
module.fail_json(
|
||||||
msg='private_ip only available with on-demand (non-spot) instances')
|
msg='private_ip only available with on-demand (non-spot) instances')
|
||||||
if boto_supports_param_in_spot_request(ec2, placement_group):
|
if boto_supports_param_in_spot_request(ec2, 'placement_group'):
|
||||||
params['placement_group'] = placement_group
|
params['placement_group'] = placement_group
|
||||||
elif placement_group :
|
elif placement_group :
|
||||||
module.fail_json(
|
module.fail_json(
|
||||||
|
|
Loading…
Reference in a new issue