aws / aws/aws-cdk

(s3-deployment): Support tags to apply to objects in BucketDeployment

Open
#15,537 4 comments 15 reactions 0 assignees View on GitHub
@aws-cdk/aws-s3-deployment effort/small feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

Presently, the [BucketDeployment construct supports the option to apply `metadata` to objects it deploys](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-s3-deployment.BucketDeployment.html#metadata), would it be possible to have the option to set tags to apply also.

### Use Case

With the application of a [permissions boundary](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) to the stack, the deployment cannot occur due to a lack of tags on the objects.

### Proposed Solution

Allow a map of tags to be supplied that are propagated onto objects deployed via the construct.

### Other

* [ ] :wave: I may be able to implement this feature request
* [ ] :warning: This feature might incur a breaking change

---

This is a :rocket: Feature Request

Contributor guide

Open the contributing guide

Research direction

Start by locating the TypeScript implementation and tests for the BucketDeployment construct, then inspect how the existing metadata option reaches deployed objects. The work is done when a supplied map of tags is propagated to those objects and the relevant behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.