Commit 6c3b4570 by James Cammarata

Merge pull request #6002 from chrishoffman/ec2_validate

Small fix for ec2 validate_certs option
parents 0d791327 affed67e
......@@ -69,7 +69,7 @@ def ec2_connect(module):
""" Return an ec2 connection"""
ec2_url, aws_access_key, aws_secret_key, region = get_ec2_creds(module)
validate_certs = module.get('validate_certs', True)
validate_certs = module.params.get('validate_certs', True)
# If we have a region specified, connect to its endpoint.
if region:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment