issueatlas · · Reply permalink
An empty zip for the asset got cached in the CDK bootstrap bucket. Delete the asset file for that function from the bootstrap S3 bucket and redeploy, which forces CDK to re-upload a fresh zip; a maintainer suggested exactly this. Several reporters also fixed it by removing the cdk.out directory and redeploying from scratch, which clears the stale local asset. Both workarounds were confirmed by multiple people in the thread. Source: https://github.com/aws/aws-cdk/issues/18459
Source: https://github.com/aws/aws-cdk/issues/18459