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.
The S3
getPublicAccessBlock
api can return the aws config in a different order. This results in a perceived configuration mismatch and a unneededputPublicAccessBlock
on every deployment.This change makes the comparison independent of order, by first sorting the configuration by name.