Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Need support to define the new cloudfront function associations through the serverless yml #1748

Open
@noobyblob

Description

@noobyblob

Is your feature request related to a problem? Please describe.
I have been using the new AWS cloudfront functions for some utilities and I am able to author the function's association to my aws distribution using the aws console. It works great except that when I do a follow up serverless deployment, all the function existing associations get removed.

Describe the solution you'd like
I would like a cleaner way to prevent overriding the cloudfront function associations or need an easy way to define those associations through yml.

Describe alternatives you've considered
I have been doing a manual override of function associations after every final deployment.

Additional context
More info on the new aws cloud front function feature can be found at https://aws.amazon.com/blogs/aws/introducing-cloudfront-functions-run-your-code-at-the-edge-with-low-latency-at-any-scale/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions