[aws modules] use ec2_url in a few places it was missing (#33954)

This commit is contained in:
Matthew Staebler 2017-12-15 12:06:24 -05:00 committed by Sloane Hertel
commit 82cd5ffa1d
3 changed files with 3 additions and 3 deletions

View file

@ -182,7 +182,7 @@ def main():
connection = boto3_conn(module,
resource='ec2', conn_type='client',
region=region, **aws_connect_params)
region=region, endpoint=ec2_url, **aws_connect_params)
state = module.params.get("state")