Skip to content

Commit

Permalink
export widget type
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankcorn committed Aug 29, 2023
1 parent 578eb23 commit 260e95a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export namespace Baselime {
construct = target;
baselimeSecret = options.apiKey;
serviceName = options.serviceName;
serviceToken = `arn:aws:lambda:${options.region || process.env.CDK_DEPLOY_REGION || "eu-west-1"
serviceToken = `arn:aws:lambda:${options.region || process.env.CDK_DEPLOY_REGION || process.env.CDK_DEFAULT_REGION || "eu-west-1"
}:${options._account || "097948374213"}:function:baselime-orl-cloudformation`;
defaultChannel = options.defaultChannel;
disableStackFilter = options.disableStackFilter;
Expand Down
2 changes: 1 addition & 1 deletion src/resources/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Baselime as Config } from "../config";

import { DashboardProps } from "../types/dashboard";
import { getServiceName } from "../utils/service-name";

export { WidgetType } from "../types/dashboard";
export class Dashboard extends CfnResource {
constructor(id: string, props: DashboardProps) {

Expand Down

0 comments on commit 260e95a

Please sign in to comment.