Ec2.ClientVpnEndpoint: Tags do not get applied to the created client VPN endpoint #31616
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
bug
This issue is a bug.
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
This is essentially a re-opening I believe of #18381.
I found this when using CDK to create a Client VPN endpoint. I used Tags.Of(endpoint).Add() - and the tag was added to the AWS:Logs:LogGroup that gets created, but not to the client VPN endpoint.
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
The Client VPN Endpoint gets created with specified tag applied to it.
Current Behavior
The CDK deploy succeeds, however, the Client VPN Endpoint does not have a tag. The LogGroup it creates automatically did get the tag - it is not clear to me if that is intended/desired or not.
Reproduction Steps
C#
Possible Solution
No response
Additional Information/Context
Specifically, I was trying to apply a name to the Client VPN Endpoint. Based on the AWS console in the browser, this appears to occur not via a Name property on the endpoint, but through a tag named "Name". But as noted above, the loggroup picked up the tag, but not the endpoint. The endpoint displayed a blank value in the AWS console for the Name column.
Manually adding a "Name" tag to the endpoint through the browser filled in the Name column as desired.
CDK CLI Version
2.160.0 (build 7a8ae02)
Framework Version
No response
Node.js Version
20.17.0
OS
Windows 11
Language
.NET
Language Version
.NET 6.0
Other information
No response
The text was updated successfully, but these errors were encountered: