Skip to content

Commit

Permalink
fix: load cdk env before imports
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsdaniels committed Jun 13, 2024
1 parent ff7ffbc commit 5bf3095
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/infrastructure/app.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env node

import { config as dotenv } from "dotenv";
dotenv();

import { App } from "aws-cdk-lib";
import * as dotenv from "dotenv";
import { Website } from "./stacks/Website";
import { Storybook } from "./stacks/Storybook";

dotenv.config();

const app = new App();

const env = {
Expand Down

0 comments on commit 5bf3095

Please sign in to comment.