Skip to content

Commit

Permalink
fix: add condiational around AppConfig import in cdk
Browse files Browse the repository at this point in the history
  • Loading branch information
lart2150 committed May 3, 2024
1 parent 40acd4f commit e2cf3ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skeleton/templates/cdk/src/api-stack.ts.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ import {
} from "aws-cdk-lib/aws-rds";
import { ClusterInstance } from "aws-cdk-lib/aws-rds";
import type { Construct } from "constructs";
{{#if (has features "appconfig")}}
import { AppConfig } from "./app-config.js";
{{/if}}

type ApiStackProps = StackProps & {
apiEnv: string;
Expand Down

0 comments on commit e2cf3ce

Please sign in to comment.