-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1-buster-slim breaks workflows using cdk v2.0.0-rc.25 #1173
Comments
I met the same issue |
Closed
I came across this same issue and I got around it by adding |
eladb
pushed a commit
that referenced
this issue
Dec 14, 2021
Extract the logic that handles CDK dependencies (and supports v1/v2 differences) into a new component called `AwsCdkDeps` and reuse across `AwsCdkTypeScriptApp` and `AwsCdkConstructLibrary`. * Modify `LambdaFunction` to determine how to render import statements in the generated function construct source code. * Fix the sample test code in `awscdk-app-ts` to work with the new assertions library. * Change the default CDK version for `awscdk-app-ts` to `^2`. * Change `cdkVersion` and `constructsVersion` to reflect version requirement instead of a specific version. This means that existing projects will need to be migrated. Added a NOTICE message during synth to inform. * Determines workflow container image based on CDK version Fixes #1288 Fixes #1326 Fixes #1173 BREAKING CHANGE: The `cdkVersion` and `constructsVersion` options are now *semver ranges* and not just specific versions. To enable the previous behavior, use a caret prefix `^`. * **awscdk:** `LambdaFunction` and `AutoDiscover` now requires `cdkDeps` so they can interact with CDK version manager.
eladb
pushed a commit
that referenced
this issue
Dec 14, 2021
Extract the logic that handles CDK dependencies (and supports v1/v2 differences) into a new component called `AwsCdkDeps` and reuse across `AwsCdkTypeScriptApp` and `AwsCdkConstructLibrary`. * Modify `LambdaFunction` to determine how to render import statements in the generated function construct source code. * Fix the sample test code in `awscdk-app-ts` to work with the new assertions library. * Change the default CDK version for `awscdk-app-ts` to `2.1.0`. * Determines workflow container image based on CDK version Fixes #1288 Fixes #1326 Fixes #1173 BREAKING CHANGE: `LambdaFunction` and `AutoDiscover` now requires `cdkDeps` so they can interact with CDK version manager.
eladb
pushed a commit
that referenced
this issue
Dec 14, 2021
Extract the logic that handles CDK dependencies (and supports v1/v2 differences) into a new component called `AwsCdkDeps` and reuse across `AwsCdkTypeScriptApp` and `AwsCdkConstructLibrary`. This is a follow up on #1327 which we had to revert due to breaking upgrade flows. The difference is that this change does NOT introduce breaking behavioral change to `cdkVersion` and dev/peer dependencies of constructs. * Modify `LambdaFunction` to determine how to render import statements in the generated function construct source code. * Fix the sample test code in `awscdk-app-ts` to work with the new assertions library. * Change the default CDK version for `awscdk-app-ts` to `2.1.0`. * Determines workflow container image based on CDK version Fixes #1288 Fixes #1326 Fixes #1173 Co-authored-by: Christopher Rybicki <rybickic@amazon.com> Co-authored-by: github-actions <github-actions@github.com> BREAKING CHANGE: `LambdaFunction` and `AutoDiscover` now requires `cdkDeps` so they can interact with CDK version manager.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My PR's build is failing with
while trying to upgrade All The Things in my corp
cdk-library
.One of the things I see is that the upgrade swapped:
in the workflows. I don't know what
1-buster-slim
is, but... it looks like it's breaking stuff.Workaround in
.projenrc.js
:The text was updated successfully, but these errors were encountered: