Skip to content

Make heroku bucketeer work without needing aws cli commands #147

@adriaanwm

Description

@adriaanwm

Currently need to run something like this in order for collectstatic and s3 in general to work on heroku:

aws configure

aws s3api put-public-access-block --bucket <BUCKET_NAME> --public-access-block-configuration BlockPublicAcls=FALSE,IgnorePublicAcls=FALSE,BlockPublicPolicy=FALSE,RestrictPublicBuckets=FALSE

aws s3api put-bucket-ownership-controls \
    --bucket <BUCKET_NAME> \
    --ownership-controls="Rules=[{ObjectOwnership=BucketOwnerPreferred}]"

More info here: https://devcenter.heroku.com/articles/bucketeer

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