Skip to content

Commit

Permalink
Use admin access for alarm deep links
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Aug 8, 2024
1 parent 305f4f7 commit 906cbb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/alarm-slack-notifications/urls.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import { logGroupName } from "./log-groups.mjs";
* @returns
*/
export function ssoDeepLink(accountId, url) {
const deepLinkRoleName = "ViewOnlyAccess";
const urlEncodedStackUrl = encodeURIComponent(url);
return `https://d-906713e952.awsapps.com/start/#/console?account_id=${accountId}&role_name=${deepLinkRoleName}&destination=${urlEncodedStackUrl}`;
const deepLinkRoleName = "AdministratorAccess";
const urlEncodedUrl = encodeURIComponent(url);
return `https://d-906713e952.awsapps.com/start/#/console?account_id=${accountId}&role_name=${deepLinkRoleName}&destination=${urlEncodedUrl}`;
}

/**
Expand Down

0 comments on commit 906cbb1

Please sign in to comment.