Skip to content

Commit

Permalink
chore(s3-deployment): remove responseURL from logs
Browse files Browse the repository at this point in the history
There is yet another place where `ResponseURL` was being logged to CloudWatch.
  • Loading branch information
rix0rrr authored Nov 17, 2022
1 parent 4f49efe commit 5183ac1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/@aws-cdk/aws-s3-deployment/lib/lambda/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
os.rename(outfile, filename)

0 comments on commit 5183ac1

Please sign in to comment.