-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws_elasticloadbalancingv2: Tagging an ALB listener rule not working #28309
Comments
Hi @hguillermo , looks like the solution suggested here might work for you. Let me know if this works for you |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Hi @khushail I tried this code: new cdk.Tag("testkey", "test").visit(applicationListenerRule.node.defaultChild as cdk.CfnResource) and new cdk.Tag("testkey", "test").visit(applicationListenerRule) It didn't work. I think it is a bug. I didn't check the code yet but I might have to try to put a PR to fix this. Ideas? |
Hi AWS::ElasticLoadBalancingV2::ListenerRule - this resource does not have |
Hi @pahud,
Ideas? |
This has been in the roadmap of the CFN coverage, see aws-cloudformation/cloudformation-coverage-roadmap#1526 Before CFN supports that, CDK can hardly do anything unless custom resource, which is not a clean solution. The |
Describe the bug
Tagging an ALB listener rule not working as expected. I am not getting any error. It is not creating the Tags.
I have this ALB listener rule:
The last part of the code is not creating the tag
Name
.Expected Behavior
I am expecting the Tag to be created for the ALB listener rule.
Current Behavior
CDK deployment ran correctly but after inspecting the Cloud Formation I don't see the Tag section for the ALB listener rule
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.102.0
Framework Version
No response
Node.js Version
v18.18.2
OS
Mac OS
Language
TypeScript
Language Version
Version 5.2.2
Other information
No response
The text was updated successfully, but these errors were encountered: