Skip to content

Commit 99d1bd5

Browse files
committed
update condition statement
1 parent 6bd16bf commit 99d1bd5

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ def create_event(event: dict, context: Any) -> str:
14561456
LOGGER.info(f"CFN_RESPONSE_DATA POST create_sns_messages: {CFN_RESPONSE_DATA}")
14571457

14581458
central_observability_params = json.loads(event["ResourceProperties"]["SRA-BEDROCK-CENTRAL-OBSERVABILITY"])
1459-
if central_observability_params["deploy"] is True:
1459+
if central_observability_params["deploy"] == "true":
14601460
# 5) Central CloudWatch Observability (regional)
14611461
deploy_central_cloudwatch_observability(event)
14621462
LOGGER.info(f"CFN_RESPONSE_DATA POST deploy_central_cloudwatch_observability: {CFN_RESPONSE_DATA}")

0 commit comments

Comments
 (0)