mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #4798 from willthames/aws_access_key_fix
AWS_ACCESS_KEY misspelt in shared EC2 connection library
This commit is contained in:
commit
9972265fd3
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@ def get_ec2_creds(module):
|
|||
if not ec2_access_key:
|
||||
if 'EC2_ACCESS_KEY' in os.environ:
|
||||
ec2_access_key = os.environ['EC2_ACCESS_KEY']
|
||||
elif 'AWS_ACESS_KEY' in os.environ:
|
||||
ec2_access_key = os.environ['AWS_ACESS_KEY']
|
||||
elif 'AWS_ACCESS_KEY' in os.environ:
|
||||
ec2_access_key = os.environ['AWS_ACCESS_KEY']
|
||||
else:
|
||||
module.fail_json(msg="Please specify an ec2_access_key")
|
||||
|
||||
|
|
Loading…
Reference in a new issue