mikesouza / serverless-deployment-bucket

Create and configure the custom Serverless deployment bucket.
MIT License
48 stars 23 forks source link

fix: order mismatch between config and api #96

Open jimbloemkolk opened 6 months ago

jimbloemkolk commented 6 months ago

The S3 getPublicAccessBlock api can return the aws config in a different order. This results in a perceived configuration mismatch and a unneeded putPublicAccessBlock on every deployment.

This change makes the comparison independent of order, by first sorting the configuration by name.