-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update awscdk examples align with best practice
The *new* best practice as described in winglang/wing#6286 is to configure a `cdk.json` file to use `wing compile` as the CDK app. This standardizes the usage through the CDK CLI and enables all CDK features like context lookups, etc.
- Loading branch information
Showing
10 changed files
with
1,340 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
examples/provider-specific/awscdk-docker-python-lambda/cdk.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"app": "CDK_STACK_NAME=awscdk-docker-python-lambda-test wing compile --no-analytics --no-update-check --platform @winglang/platform-awscdk main.w", | ||
"output": "target/main.awscdk" | ||
} |
Oops, something went wrong.