bazel-cdk-demo

module
v0.0.0-...-f4379c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2021 License: Apache-2.0

README

bazel-cdk-demo

initial setup

  • yarn create @bazel com_kindlyops_bazel_cdk_demo --typescript

updating after changing packages in package.json

After updating package versions or adding packages run

bazel run @nodejs//:yarn

run cdk commands

bazel run cdk -- ls

If you have direnv set up we have a wrapper script called cdk in ./scripts

generate a tar of the synthesized CDK output

This is useful as a build artifact for deployment in a pipeline

bazel build synth

To add a new go dependency, run gazelle

For example, to add a dependency on the aws-sdk-go library, run

bazel run //:gazelle -- update-repos github.com/aws/aws-sdk-go

Directories

Path Synopsis
lambdas

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL