Skip to content

Commit

Permalink
Add changelog fragment
Browse files Browse the repository at this point in the history
Signed-off-by: Alina Buzachis <abuzachis@redhat.com>
  • Loading branch information
alinabuzachis committed Feb 21, 2023
1 parent d176b85 commit 09faa5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/1384-cloudtrail-disable_encryption.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- cloudtrail - Allow to disable encryption by ´´kms_key_id=´´ (https://github.com/ansible-collections/amazon.aws/pull/1384).
4 changes: 2 additions & 2 deletions plugins/modules/cloudtrail.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@ def main():
if module.params['enable_log_file_validation'] is not None:
ct_params['EnableLogFileValidation'] = module.params['enable_log_file_validation']

if module.params['kms_key_id'] is not None:
ct_params['KmsKeyId'] = module.params['kms_key_id']
if module.params["kms_key_id"] is not None:
ct_params["KmsKeyId"] = module.params["kms_key_id"]

client = module.client('cloudtrail')
region = module.region
Expand Down

0 comments on commit 09faa5f

Please sign in to comment.