Unable to propagate default_tags through asg/launch_template to instances/volumes #19387
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
I am unable to get default_tags to propagate into my ASG's instances and volumes.
An ASG can propagate, but it requires explicitly setting the tag and adding "propagate_at_launch = true". The alternative is defining it in the tag_specifications in the launch_template, but that one is not inheriting the values. I have tried the default of not defining tags_specifications blocks, and also defined a "simple" form, where I set only one dummy tag to see if it would still pull the default tags.
I would accept if all that was necessary was to define the stanza to force it through, but ideally this shouldn't be necessary - since we defined at the provider level that we want everything tagged.
example for minimal spec for launch_template.tf
tag_specifications {
resource_type = "instance"
}
The text was updated successfully, but these errors were encountered: