Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Allow multi-part policies on aditional s3 buckets #275

Merged

Conversation

robyoung
Copy link
Contributor

@robyoung robyoung commented Jul 6, 2017

AIM policy documents are made up of a list of policy statements. Currently bootstrap-cfn only allows a single custom policy for an S3 bucket. This change allows a list of custom policies to be provided. Backwards compatibility is maintained by allowing either a single policy dict or a list of policies.

I have only implemented this on the additional s3 buckets because the static buckets are for a specific use case and should be kept as simple as possible. Do you think it would make more sense to implement it the same for the static bucket and additional buckets?

@robyoung robyoung force-pushed the s3-multi-part-bucket-policy branch from 6647f4e to 098b1c6 Compare July 6, 2017 12:55
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 57.918% when pulling 098b1c6 on robyoung:s3-multi-part-bucket-policy into e873416 on ministryofjustice:master.

AIM policy documents are made up of a list of policy statements.
Currently bootstrap-cfn only allows a single custom policy for an S3
bucket. This change allows a list of custom policies to be provided.
Backwards compatibility is maintained by allowing either a single policy
dict or a list of policies as an array.

I have only implemented this on the additional s3 buckets because the
static buckets are for a specific use case and should be kept as simple
as possible.
@robyoung robyoung force-pushed the s3-multi-part-bucket-policy branch from 098b1c6 to 5708d08 Compare July 13, 2017 13:00
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 58.073% when pulling 5708d08 on robyoung:s3-multi-part-bucket-policy into 18a24f5 on ministryofjustice:master.

@sevenmachines sevenmachines merged commit d0b5640 into ministryofjustice:master Jul 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants