AWS Builder Center

Volumes created with aws_launch_configuration have no tags

Fix for the issue faced in Terraform apply - Volumes created with aws_launch_configuration have no tags Fix

Series: AWS and Terraform (4 articles)

  1. …
  2. 4
    Volumes created with aws_launch_configuration have no tags This article
In this article I want to share the fix we found effective and simple to tag the volumes created with aws_launch_configuration in Terraform. In our implementation we are creating eks node group ec2 instance using aws_launch_configuration. We have custom tags for all resources created. However, Volumes created with aws_launch_configuration have no tags and name. It was fixed with following code in aws_launch_template.

tag_specifications { resource_type = "volume"
tags = {
Name = "eks-default-node"
tagref = "custom_tag"
}
}

Series: AWS and Terraform (4 articles)

  1. …
  2. 4
    Volumes created with aws_launch_configuration have no tags This article
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article