WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_cdk",
sha256 = "3c1054315e4087b7da4164003519fe430741a30439850b60d96b0daa62adee15",
strip_prefix = "rules_cdk-1.1.1",
url = "https://github.com/dastbe/rules_cdk/archive/refs/tags/v1.1.1.tar.gz",
)
######################
# rules_cdk setup #
######################
# Fetches the rules_cdk dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@contrib_rules_cdk//cdk:dependencies.bzl", "rules_cdk_dependencies")
rules_cdk_dependencies()
# Fetch and register a nodejs interpreter, if you haven't already
load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
load("@contrib_rules_cdk//cdk:repositories.bzl", "cdk_repositories")
cdk_repositories()
load("@cdk//:npm_repositories.bzl", cdk_npm_repositories = "npm_repositories")
cdk_npm_repositories()
What's Changed
- syncing to latest CDK version, which includes fix for repeated deploys of cdk bundles with docker images
Full Changelog: v1.1.0...v1.1.1