aws-cloudformation / aws-cloudformation-resource-providers-ec2-prefix-list

CloudFormation for Managed Prefix List Service.
https://aws.amazon.com/ec2/
Apache License 2.0
1 stars 1 forks source link

MaxEntries and AddressFamily properties are not marked for immutable update #2

Open kadrach opened 4 years ago

kadrach commented 4 years ago

The schema for prefix list resource does not define MaxEntries and AddressFamily to be createOnlyProperties.

https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-createonlyproperties

This means that on update operations touching e.g. MaxEntries, CloudFormation fails and rolls back the change instead of replacing the resource with a new instance of it.