File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
aws_sra_examples/solutions/genai/bedrock_org/lambda/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments