Merge pull request #753 from skyluc/fix/ec2-spot-no-tenancy

Don't use 'tenancy' in ec2 spot requests
reviewable/pr18780/r1
Brian Coca 10 years ago
commit fdda25691c

@ -834,7 +834,8 @@ def create_instances(module, ec2, override_count=None):
if ebs_optimized:
params['ebs_optimized'] = ebs_optimized
if tenancy:
# 'tenancy' always has a default value, but it is not a valid parameter for spot instance resquest
if not spot_price:
params['tenancy'] = tenancy
if boto_supports_profile_name_arg(ec2):

Loading…
Cancel
Save