[Bug]: aws_launch_template
can't have "aws-node-termination-handler/managed"
as a key
#30166
Labels
bug
Addresses a defect in current functionality.
service/ec2
Issues and PRs that pertain to the ec2 service.
tags
Pertains to resource tagging.
Milestone
Terraform Core Version
1.4.2
AWS Provider Version
4.59.0
Affected Resource(s)
Expected Behavior
When I add the tag
"aws-node-termination-handler/managed"
to an aws_launch_template, it gets added to the AWS resource.Actual Behavior
The tag doesn't get added to the AWS resource.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
terraform apply
the above config.Debug Output
The provider is stripping the tag and not POSTing at all:
Panic Output
N/A
Important Factoids
Nothing important, this is minimally reproducible.
References
kops attempts to add this tag to the launch templates when you enable the node-termination-handler, which is what revealed this bug. However it's easy enough to manually reproduce with a single line of Terraform.
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: