question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VpcEndpointService Tags cannot be added

See original GitHub issue

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

Reproduction Steps

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 Report

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
holomekccommented, Jun 10, 2020

I think it is my bad. I did not check CloudFormation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html

Looks like that it is currently not supported to set Tags in the template although the UI does allow it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AWS::EC2::VPCEndpointService - AWS CloudFormation
Creates a VPC endpoint service configuration to which service consumers (AWS accounts, IAM users, and IAM roles) can connect.
Read more >
Managing Tags of a VPC Endpoint Service - 华为云
After a VPC endpoint service is created, you can view its tags, or add, edit, or delete a tag. A tag is a...
Read more >
Does AWS CloudFormation support Tags Property Attribute for ...
3 Answers 3 · 2. I have created the vpc's and added tags. That do work. But what if i need to name...
Read more >
Tag your Amazon EC2 resources
You can search and filter the resources based on the tags you add. ... If tags cannot be applied during resource creation, we...
Read more >
hongjunjeong95/network/aws | vpc-endpoint-service Submodule
The name cannot start with AWS or aws . string, "", no. tags, A map of tags to add to all resources. map(string) ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found