serverless-nextjs / serverless-next.js

⚡ Deploy your Next.js apps on AWS Lambda@Edge via Serverless Components
MIT License
4.41k stars 449 forks source link

Deployment of serverless-component fails with error CloudFrontOriginAccessIdentityAlreadyExists #2601

Open paunis opened 11 months ago

paunis commented 11 months ago

Issue Summary

Deployment of serverless-component fails with error CloudFrontOriginAccessIdentityAlreadyExists with both serverless@2.72.x and serverless@3.x.x

Actual behavior

For about a month the deployments of serverless-component@3.7.0 with serverless@2.72.2 are failing with error: CloudFrontOriginAccessIdentityAlreadyExists: The caller reference you are using to create the CloudFront origin access identity is associated with another identity. We tried several serverless version 3.x.x but we get the same error.

Expected behavior

No Cloudfront related errors

Steps to reproduce

CloudFrontOriginAccessIdentityAlreadyExists: The caller reference you are using to create the CloudFront origin access identity is associated with another identity.

Screenshots/Code/Configuration/Logs

Versions

serverless@3.0.0 serverless@2.72.2 serverless-component@3.7.0

Additional context

Checklist