Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set S3 Bucket location for code pipeline to store its artifacts with blueprints.CodePipelineStack.builder #1072

Open
1 task done
dmalia1 opened this issue Aug 27, 2024 · 2 comments
Labels

Comments

@dmalia1
Copy link

dmalia1 commented Aug 27, 2024

Describe the feature

This would add a method like .bucketName() or something to the builder that would use the bucketName provided. If the bucket doesn't exist, create it, otherwise use it, and put the data in a sub-bucket/folder, or use the full path provided.

Use Case

Generating many pipelines can run into S3 bucket limits. Being able to re-use an existing bucket would eliminate the bucket issue.

Proposed Solution

Add new method to blueprints.CodePipelineStack.builder() maybe called bucketName(), which takes in the bucket name/path, and KMS key ARN for encryption, then in code-pipeline.ts, where it creates the CodePipeline, pass in the value of artifactBucket to the parameters of the CodePipeline

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request

CDK version used

2.147.3

EKS Blueprints Version

1.15.1

Node.js Version

v20.17.0

Environment details (OS name and version, etc.)

ubuntu 24.04

@shapirov103
Copy link
Collaborator

Accepted, good feature to add.

@muckelba
Copy link
Contributor

muckelba commented Oct 1, 2024

I just came across the same problem with too many pipelines. Until the feature arrives, i'll just delete the buckets (automatically) after i delete the pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants