diff --git a/src/utils/awsLambdaLayerManager.ts b/src/utils/awsLambdaLayerManager.ts index 49b0d0b4..fe7fc220 100644 --- a/src/utils/awsLambdaLayerManager.ts +++ b/src/utils/awsLambdaLayerManager.ts @@ -83,13 +83,6 @@ export class AwsLambdaLayerManager { Action: 'lambda:GetLayerVersion', Principal: '*', }); - await lambda.addLayerVersionPermission({ - LayerName: this.layerName, - VersionNumber: publishedLayer.Version, - StatementId: 'public', - Action: 'lambda:ListLayerVersions', - Principal: '*', - }); if (this.verboseInfo) { logger.info(`Published layer in ${region} for ${this.runtime.name}: