Skip to content

Bucket policy always updated even when policy not changed #114

@Jc2k

Description

@Jc2k

self.get_bucket_policy()['Statement'][0]['Principal']['AWS'] in the S3 bucket code is a random order, so not cannot reliably compare to the local definition of the policy.

For now will need to massage policy comparison so principals are sets.

Long term, policies need to be fully fledged resources.

(Used to work - is this a change to the API? Check releases notes etc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions