Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1.30.2] aws-cdk-lib.aws_cloudfront_origins.S3Origin is deprecated #407

Open
shengslogar opened this issue Sep 13, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@shengslogar
Copy link

Description

Low priority "bug".

When deploying a Serverless v3 app with this plugin installed, multiple duplicate console warnings are displayed:

[WARNING] aws-cdk-lib.aws_cloudfront_origins.S3Origin is deprecated.
  Use `S3BucketOrigin` or `S3StaticWebsiteOrigin` instead.
  This API will be removed in the next major release.

I only use server-side-website asset splitting, which would require S3Origin to be replaced with S3BucketOrigin. Not sure about all the other possible use cases.

How to Reproduce

Set up a project following the "Server-side website" README and run sls package or sls deploy.

Additional Information

  • Serverless Framework v3.39.0
  • Lift v1.30.2
@shengslogar shengslogar added the bug Something isn't working label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant