aws / aws/aws-cdk

VpcEndpointService Tags cannot be added

Open
#8,463 8 comments 12 reactions 0 assignees View on GitHub
@aws-cdk/aws-ec2 bug needs-cfn p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

Currently it seems impossible to add tags to a VpcEndpointService. We are using CDK Java.

### Reproduction Steps

```Java
final VpcEndpointService vpcEs = VpcEndpointService.Builder.create(this, "test")...build();

Tag.add(vpcEs, "Name", "Test");
Tag.add(vpcEs, "x", "y");
```

### Error Log
No error. It just does not work.

### Environment

- **CLI Version:** 1.18.21
- **Framework Version:** 1.44
- **Node.js Version:** 10.16.3
- **OS :** Windows 10
- **Language (Version):** Java (8)

### Other
We wanted to set Name because it also seems not possible to set the name of a VpcEndpointService

---

This is :bug: Bug Report

Contributor guide

Open the contributing guide

Research direction

Start from the VpcEndpointService construct and the Tag.add calls shown in the reproduction, then inspect the synthesized CloudFormation output for the service. Reproduce the case with the reported Java example and verify that the resulting endpoint service includes the requested tags and determine whether its name can be set.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java, typescript
Domain
cloud, infrastructure
Issue type
Bug
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.