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

Allow custom "acl" key in oclif.update.s3 #79

Merged
merged 1 commit into from
Dec 18, 2018

Conversation

ryanwilsonperkin
Copy link
Contributor

I'm interested in contributing a new feature: a custom acl key to be used in the package.json file that would allow the developer to specify a custom AWS ACL to use when uploading versions of their CLI.

We're maintaining a CLI built on oclif that's only intended for private use within the org. We achieve this by publishing it to an S3 bucket that has an ACL configured to only allow reads from private IP addresses. This requires that when we upload objects to the bucket that we specify an ACL of "private'. The publish commands were hardcoding an ACL of "public-read" but this would allow them to be more flexible.

Allows the developer to specify the ACL that their S3 bucket uses,
overriding the default of "public-read" which may not be available on
some internally-used S3 buckets.
@salesforce-cla
Copy link

Thanks for the contribution! Before we can merge this, we need @ryanwilsonperkin to sign the Salesforce.com Contributor License Agreement.

@ryanwilsonperkin
Copy link
Contributor Author

I believe tests won't pass because I'm not a member of the org: #76 (comment)

@jdx jdx merged commit 5ac8fff into oclif:master Dec 18, 2018
@ryanwilsonperkin ryanwilsonperkin deleted the allow-custom-s3-acl branch December 18, 2018 14:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants