Skip to content

Commit d1e03c8

Browse files
committed
minor update to fix event issue
1 parent 8c84fe7 commit d1e03c8

File tree

1 file changed

+2
-2
lines changed
  • aws_sra_examples/solutions/genai/bedrock_org/lambda/src

1 file changed

+2
-2
lines changed

aws_sra_examples/solutions/genai/bedrock_org/lambda/src/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ def deploy_central_cloudwatch_observability(event):
728728
else:
729729
LOGGER.info("CloudWatch observability access manager link found")
730730

731-
def deploy_cloudwatch_dashboard():
731+
def deploy_cloudwatch_dashboard(event):
732732
global DRY_RUN_DATA
733733
global LIVE_RUN_DATA
734734
global CFN_RESPONSE_DATA
@@ -799,7 +799,7 @@ def create_event(event, context):
799799
deploy_central_cloudwatch_observability(event)
800800

801801
# 6) Cloudwatch dashboard in security account
802-
deploy_cloudwatch_dashboard()
802+
deploy_cloudwatch_dashboard(event)
803803

804804
# End
805805
# TODO(liamschn): Consider the 256 KB limit for any cloudwatch log message

0 commit comments

Comments
 (0)