aws-cloudformation-user-guide icon indicating copy to clipboard operation
aws-cloudformation-user-guide copied to clipboard

Update AWS::CloudFront::Function Name description with non-updable important information

Open fredericbarthelet opened this issue 1 year ago • 0 comments

Description of changes:

A Cloudfront Function Name property is required and cannot be updated after resource creation. This behavior was spotted in https://github.com/getlift/lift/issues/247

Changing the name requires changing resource LogicalID to trigger old resource deletion and new resource creation. Unlike common name property whose behavior is described in https://github.com/awsdocs/aws-cloudformation-user-guide/blob/main/doc_source/aws-properties-name.md, Cloudformation cannot handle name generation for this resource type and cannot handle resource replacement.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

fredericbarthelet avatar Aug 08 '22 17:08 fredericbarthelet