Skip to content

Commit 863548d

Browse files
authored
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*
1 parent 4f49efe commit 863548d

File tree

1 file changed

+1
-2
lines changed
  • packages/@aws-cdk/aws-s3-deployment/lib/lambda

1 file changed

+1
-2
lines changed

packages/@aws-cdk/aws-s3-deployment/lib/lambda/index.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ def aws_command(*args):
236236
def cfn_send(event, context, responseStatus, responseData={}, physicalResourceId=None, noEcho=False, reason=None):
237237

238238
responseUrl = event['ResponseURL']
239-
logger.info(responseUrl)
240239

241240
responseBody = {}
242241
responseBody['Status'] = responseStatus
@@ -306,4 +305,4 @@ def replace_markers(filename, markers):
306305

307306
# # delete the original file and rename the new one to the original
308307
os.remove(filename)
309-
os.rename(outfile, filename)
308+
os.rename(outfile, filename)

0 commit comments

Comments
 (0)