From 7d4d00694776f5519cfb001f478a007369014e3f Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 13 Mar 2021 20:10:09 +0100 Subject: [PATCH] More no_log=False to fix sanity tests (#474) * Add no_log=False to mark some more false-positives of the no_log check. * More false-positives confirmed by tremble. This commit was initially merged in https://github.com/ansible-collections/community.aws See: https://github.com/ansible-collections/community.aws/commit/67b6d751cc4ee5728577af2fe7b330f8cc7cd5c2 --- plugins/modules/lambda.py | 2 +- plugins/modules/lambda_policy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/lambda.py b/plugins/modules/lambda.py index e559e181abe..c6960d99c98 100644 --- a/plugins/modules/lambda.py +++ b/plugins/modules/lambda.py @@ -330,7 +330,7 @@ def main(): handler=dict(), zip_file=dict(aliases=['src']), s3_bucket=dict(), - s3_key=dict(), + s3_key=dict(no_log=False), s3_object_version=dict(), description=dict(default=''), timeout=dict(type='int', default=3), diff --git a/plugins/modules/lambda_policy.py b/plugins/modules/lambda_policy.py index ff091a8beaa..5c65b7969da 100644 --- a/plugins/modules/lambda_policy.py +++ b/plugins/modules/lambda_policy.py @@ -397,7 +397,7 @@ def setup_module_object(): principal=dict(required=True, ), source_arn=dict(), source_account=dict(), - event_source_token=dict(), + event_source_token=dict(no_log=False), ) return AnsibleAWSModule(