Skip to content

Commit

Permalink
fix(lambda-layer-*): unable to calculate layer asset hash due to miss…
Browse files Browse the repository at this point in the history
…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*
  • Loading branch information
Elad Ben-Israel committed Dec 31, 2020
1 parent 15b6eaf commit 646f098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions packages/@aws-cdk/lambda-layer-awscli/.npmignore
Expand Up @@ -25,6 +25,4 @@ jest.config.js
**/cdk.out
junit.xml

layer/

test/
test/
4 changes: 1 addition & 3 deletions packages/@aws-cdk/lambda-layer-kubectl/.npmignore
Expand Up @@ -25,6 +25,4 @@ jest.config.js
**/cdk.out
junit.xml

layer/

test/
test/

0 comments on commit 646f098

Please sign in to comment.