Skip to content

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

@shengslogar

Description

@shengslogar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions