diff --git a/src/alarm-slack-report/index.js b/src/alarm-slack-report/index.js index f613c8f..bb737a6 100644 --- a/src/alarm-slack-report/index.js +++ b/src/alarm-slack-report/index.js @@ -10,8 +10,8 @@ import { EventBridgeClient, PutEventsCommand, } from "@aws-sdk/client-eventbridge"; -import regions from "./regions.mjs"; -import { alarmConsole, ssoDeepLink } from "./urls.mjs"; +// import regions from "./regions.mjs"; +// import { alarmConsole, ssoDeepLink } from "./urls.mjs"; const sts = new STSClient({ apiVersion: "2011-06-15" }); const eventbridge = new EventBridgeClient({ apiVersion: "2015-10-07" }); @@ -83,20 +83,20 @@ async function describeAllAlarms(cwClient, nextToken) { return results; } -function cleanName(alarmName) { - return alarmName - .replace(/>/g, ">") - .replace(//g, ">") +// .replace(/