We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a909ec commit 4e70d5cCopy full SHA for 4e70d5c
packages/cdk/stacks/VpcResourcesStack.ts
@@ -47,7 +47,7 @@ export class VpcResourcesStack extends Stack {
47
// Context
48
/* context values passed as --context cli arguments are passed as strings so coerce them to expected types*/
49
const logRetentionInDays: number = Number(this.node.tryGetContext("logRetentionInDays"))
50
- const forwardCsocLogs: boolean = this.node.tryGetContext("forwardCsocLogs")
+ const forwardCsocLogs: boolean = Boolean(this.node.tryGetContext("forwardCsocLogs"))
51
52
// Imports
53
const cloudwatchKmsKey = Key.fromKeyArn(
0 commit comments