gordon icon indicating copy to clipboard operation
gordon copied to clipboard

Use existing S3 bucket for deployment

Open mnalepa opened this issue 9 years ago • 1 comments

We run in an environment where S3 bucket creation is restricted (due to the limited number of allowed buckets easily being reached). Is there a way to provide gordon a specific (already existing) bucket to be used for deployment instead of having it create a bucket or buckets each time as needed?

mnalepa avatar Jun 15 '16 17:06 mnalepa

Take the following with a grain of salt as I am not daily using gordon yet, I was under the impression that you could use an existing S3 bucket. https://gordon.readthedocs.io/en/latest/project.html#code-bucket indicates that it will create a bucket for each region, but my expectation is that it will not create buckets when they already exist. Uniqueness is $CODE_BUCKET-$REGION-$STAGE according to the docs, so my expectation is that you can re-use the same code bucket prefix across multiple lambdas. Can someone who is using gordon today verify?

We do have a limitation on S3 buckets per account though (default is 100), so awareness of number of S3 bucket creation is a requirement with AWS account management.

ausmith avatar Jun 17 '16 17:06 ausmith