- Newest
- Most votes
- Most comments
The issue you're experiencing with deploying a CloudFront static site using CDK appears to be related to a recent problem affecting many CDK users. This error is not specific to your code or deployment process, but rather a widespread issue that started occurring suddenly for numerous users.
The error message suggests there's a problem with unzipping the uploaded file for the Lambda layer. This could be due to a change or update in the underlying dependencies or runtime environment used by CDK.
While there isn't a definitive solution yet, here are some steps you can try:
-
Check for any available updates to the CDK toolkit or related dependencies.
-
Try using an earlier version of CDK if possible, as the issue seems to have started recently.
-
Monitor AWS forums or official channels for any announcements about this issue.
-
If you're using an antivirus software, particularly ESET Antivirus, try temporarily disabling SSL/TLS protection. Some users reported that ESET caused issues with local node.js installations, which could be related to your problem.
-
If the problem persists, you may need to wait for AWS to address this issue, as it's affecting multiple users simultaneously. In the meantime, you could consider reaching out to AWS support for further assistance.
Remember that since this problem appeared suddenly and is affecting multiple users, it's likely a temporary issue that will be resolved by AWS soon.
Sources
CDK Deploy error started about an hour ago | AWS re:Post
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 5 months ago