aws / aws/aws-toolkit-azure-devops

Ability To Specify S3 Bucket For All Deployment Bundle Types

Open
#430 0 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
258
Forks
114
PR merge metrics
No merged PRs in 30d

Description

I'm experiencing this with the `Create Application Version` and `Deploy` ElasticBeanstalk tasks, but after perusing the [source for this plugin](https://github.com/aws/aws-toolkit-azure-devops/blob/bae6b76e3bfd10a4188a93db6e026111710bdade/src/lib/beanstalkUtils.ts#L14), this probably applies to any task that automatically resolves an S3 bucket.

When using the aforementioned tasks, when **not** using a _Pre-existing deployment bundle_, there is no way to control what S3 bucket is using for the uploads that occur. The tasks issue what amount to a [create storage location](https://docs.aws.amazon.com/cli/latest/reference/elasticbeanstalk/create-storage-location.html) call and use whatever is returned. The existing S3 bucket and key parameters are _only_ used when the deployment bundle type is "pre-existing".

I would like the ability to specify what S3 bucket and key is used, regardless of deployment bundle type.

The alternatives force me into basically creating these pre-existing tasks myself, which defeats the entire point of the tasks and the plugin.

Contributor guide

Open the contributing guide

Research direction

Start with src/lib/beanstalkUtils.ts, especially the bucket-resolution logic linked in the issue, then trace the Create Application Version and Deploy ElasticBeanstalk tasks and other tasks that resolve buckets automatically. Done means users can specify the S3 bucket and key for every deployment bundle type, rather than only for pre-existing bundles.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.