Need support to define the new cloudfront function associations through the serverless yml #1748
Description
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/