mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
aws_kms tags fix (#53088)
* Fix TagName and TagValue in aws_kms Fixes #53061 * Improve test suite to check for tags Also fixed some obvious failures, need to run the test suite from time to time!
This commit is contained in:
committed by
Sloane Hertel
parent
5d8f307116
commit
91eee48f1b
@@ -666,7 +666,7 @@ def update_key(connection, module, key):
|
||||
|
||||
def create_key(connection, module):
|
||||
params = dict(BypassPolicyLockoutSafetyCheck=False,
|
||||
Tags=ansible_dict_to_boto3_tag_list(module.params['tags']),
|
||||
Tags=ansible_dict_to_boto3_tag_list(module.params['tags'], tag_name_key_name='TagKey', tag_value_key_name='TagValue'),
|
||||
KeyUsage='ENCRYPT_DECRYPT',
|
||||
Origin='AWS_KMS')
|
||||
if module.params.get('description'):
|
||||
|
||||
Reference in New Issue
Block a user