Getting this error while creating of layer in lambda
User: arn:aws:iam::664418989617:user/kk_labs_user_688252 is not authorized to perform: lambda:PublishLayerVersion on resource: arn:aws:lambda:us-east-1:664418989617:layer:shared-utils because no identity-based policy allows the lambda:PublishLayerVersion action
Thanks for your feedback. I’ve checked and confirmed that we can’t create a new Lambda layer in the Playground. We can only use existing Lambda layers in a Lambda function.
There is already an issue for this case, and the team will check and update it. For now, please try testing the Lambda layer feature using an existing Lambda layer.