Skip to content

Commit f5a4baf

Browse files
committed
minor update to linkarn
1 parent 3131da8 commit f5a4baf

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
@@ -788,8 +788,8 @@ def delete_event(event, context):
788788
search_oam_link = cloudwatch.find_oam_link(oam_sink_arn)
789789
if search_oam_link[0] is True:
790790
if DRY_RUN is False:
791-
LOGGER.info(f"CloudWatch observability access manager link ({oam_sink_arn}) found, deleting...")
792-
cloudwatch.delete_oam_link(oam_sink_arn)
791+
LOGGER.info(f"CloudWatch observability access manager link ({search_oam_link[1]}) found, deleting...")
792+
cloudwatch.delete_oam_link(search_oam_link[1])
793793
LIVE_RUN_DATA["OAMLinkDelete"] = "Deleted CloudWatch observability access manager link"
794794
CFN_RESPONSE_DATA["deployment_info"]["action_count"] += 1
795795
CFN_RESPONSE_DATA["deployment_info"]["resources_deployed"] -= 1

0 commit comments

Comments
 (0)