mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Change standard AWS access and secret key parameter names to aws_access_key and aws_secret_key. Fixes an authentication problem with the rds module and standardizes the naming convention on something more encompassing than ec2_*_key.
This commit is contained in:
parent
3f2f5fec0a
commit
baf508a379
9 changed files with 55 additions and 53 deletions
|
@ -1045,6 +1045,8 @@ def main():
|
|||
|
||||
ec2 = ec2_connect(module)
|
||||
|
||||
tagged_instances = []
|
||||
|
||||
if module.params.get('state') == 'absent':
|
||||
instance_ids = module.params.get('instance_ids')
|
||||
if not isinstance(instance_ids, list):
|
||||
|
@ -1064,7 +1066,6 @@ def main():
|
|||
if not module.params.get('image'):
|
||||
module.fail_json(msg='image parameter is required for new instance')
|
||||
|
||||
tagged_instances = []
|
||||
if module.params.get('exact_count'):
|
||||
(tagged_instances, instance_dict_array, new_instance_ids, changed) = enforce_count(module, ec2)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue