cdk-assets: allow publish to local directory #26342
Labels
@aws-cdk/aws-s3
Related to Amazon S3
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the feature
Give cdk-assets a new option to not upload to cdk S3 bucket, but just keep the bundles on a local directory.
For example
Use Case
We are running a company-wide service on which people can pick a product to test out for a few days. For that, an AWS account gets provisioned and the product is deployed with cloudformation. For this, we need the json files and assets that cdk pushed to the cdk bucket.
Currently, we use
cdk-assets publish
to publish our product to a dev account, then redownload it and provide it as a product to the service. We would like to do this without the dev account so we can integrate it into our build pipeline more easily.Proposed Solution
I did not take an extensive look at the code yet but just before upload, the files must be somewhere on the local drive. Just stop the process there and don't the delete the local files.
Other Information
No response
Acknowledgements
CDK version used
2.84.0
Environment details (OS name and version, etc.)
Xubuntu 22.04
The text was updated successfully, but these errors were encountered: