From 863548d9e5d643c18e939556661cc8a05b6f7742 Mon Sep 17 00:00:00 2001 From: Rico Huijbers Date: Thu, 17 Nov 2022 14:15:02 +0100 Subject: [PATCH] fix(s3-deployment): `responseURL` is in CloudWatch Logs (#22952) There is yet another place where `ResponseURL` was being logged to CloudWatch. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/@aws-cdk/aws-s3-deployment/lib/lambda/index.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/@aws-cdk/aws-s3-deployment/lib/lambda/index.py b/packages/@aws-cdk/aws-s3-deployment/lib/lambda/index.py index efa0b54bb19df..e013fae72f87d 100644 --- a/packages/@aws-cdk/aws-s3-deployment/lib/lambda/index.py +++ b/packages/@aws-cdk/aws-s3-deployment/lib/lambda/index.py @@ -236,7 +236,6 @@ def aws_command(*args): def cfn_send(event, context, responseStatus, responseData={}, physicalResourceId=None, noEcho=False, reason=None): responseUrl = event['ResponseURL'] - logger.info(responseUrl) responseBody = {} responseBody['Status'] = responseStatus @@ -306,4 +305,4 @@ def replace_markers(filename, markers): # # delete the original file and rename the new one to the original os.remove(filename) - os.rename(outfile, filename) \ No newline at end of file + os.rename(outfile, filename)