Skip to content
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.

allow key prefix for all s3 images, configured via environment #224

Merged
merged 2 commits into from
Aug 13, 2017

Conversation

pklingem
Copy link
Contributor

@pklingem pklingem commented Aug 11, 2017

celebrate

The number of s3 buckets is limited per account in s3. As such, a common pattern is to use a single bucket and prefix the keys for s3 objects per app, etc. This PR enables key prefixing.

Copy link
Collaborator

@adieuadieu adieuadieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @pklingem — Thank you for raising this PR. Out of curiosity: Is the s3 bucket limit something you're coming up against? Does this PR solve your use-case?

One nit picky request: let's rename CHROMELESS_S3_BUCKET_KEY_PREFIX to CHROMELESS_S3_OBJECT_KEY_PREFIX

@pklingem
Copy link
Contributor Author

@adieuadieu agreed that is a better variable name, I've pushed a commit to update the name. Yes, we've encountered the bucket limit at my company @articulate and we've consolidated our buckets. I have a working proof of concept of my fork of chromeless replacing a nightmare based tool we built, this PR is the only thing preventing us from moving to production with this. Thank you for considering this change!

@adieuadieu adieuadieu added this to the v1.3 milestone Aug 12, 2017
@adieuadieu adieuadieu merged commit 0c3d19e into schickling:master Aug 13, 2017
@adieuadieu
Copy link
Collaborator

Thank you, @pklingem!

@pklingem pklingem mentioned this pull request Aug 17, 2017
webpolis pushed a commit to webpolis/yb-chromeless that referenced this pull request Oct 5, 2017
allow key prefix for all s3 images, configured via environment
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.

3 participants