-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
‼️ NOTICE: eks and s3-deployment are broken in v1.81.0 #12291
Comments
copy @eladb |
If you are developing aws cdk constructs with const project = new AwsCdkConstructLibrary({
cdkVersion: '1.80.0',
cdkVersionPinning: true, |
Shoot. Thanks for reporting. We will issue a patch as soon as possible. |
…ing file The `Dockerfile` which we use as the source for layer asset hash calculation was excluded from the npm tarball since it was inside the `layer` directory (which was in .npmignore). This change de-excludes this file. Fixes #12291
@pahud can you try the above workaround and let us know if it works for you? |
OK let me try again. |
Hi @eladb I fetched the The PR works! |
And the workaround patch function works as well. |
Original issue: I was developing cdk contructs with the latest
I believe the same error should occur in We probably should remove this line:
Reproduction StepsWhat did you expect to happen?What actually happened?Environment
Other |
…ing file (#12293) The `layer/Dockerfile` which we use as the source for layer asset hash calculation was excluded from the npm tarball since it was inside the `layer` directory (which was in .npmignore). This change de-excludes this file. Fixes #12291 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Had the same issue. Applying the patch resolved it. |
Had the same issue deploying a lambda function via an S3 bucket const sourceBucket = new s3.Bucket(this, 'LambdaSourceBucket', {
versioned: true,
bucketName: 'lambdasourcebucket48257402798011'
});
new s3deploy.BucketDeployment(this, 'DeployLambdaCode', {
sources: [s3deploy.Source.asset('../sqs-lambda/dist.zip')],
destinationBucket: sourceBucket
}); tried using version Patch by @pahud is working ok, many thanks |
We released the fix as part of v1.82.0, the patch is no longer required. |
|
…ing file (aws#12293) The `layer/Dockerfile` which we use as the source for layer asset hash calculation was excluded from the npm tarball since it was inside the `layer` directory (which was in .npmignore). This change de-excludes this file. Fixes aws#12291 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Please add your +1 👍 to let us know you have encountered this
Status: IN-PROGRESS
Overview
The @aws-cdk/aws-eks and @aws-cdk/aws-s3-deployment modules are broken in v1.81.0 of the AWS CDK due to a missing file in the npm bundle.
Complete Error Message
Workaround
Until we are able to release a fix, if you are using one of these modules, you have the following workarounds:
^
) version requirement.Solution
A solution for the root cause can be found in #12293 and will published as soon as we are able to release the AWS CDK. We will likely be able to release this immediately after New Years Eve 🎉 .
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: