Tag Args
data class TagArgs(val autoscalingGroupName: Output<String>? = null, val tag: Output<TagTagArgs>? = null) : ConvertibleToJava<TagArgs>
Manages an individual Autoscaling Group (ASG) tag. This resource should only be used in cases where ASGs are created outside the provider (e.g., ASGs implicitly created by EKS Node Groups).
NOTE: This tagging resource should not be combined with the resource for managing the parent resource. For example, using
aws.autoscaling.Groupandaws.autoscaling.Tagto manage tags of the same ASG will cause a perpetual difference where theaws.autoscaling.Groupresource will try to remove the tag being added by theaws.autoscaling.Tagresource. NOTE: This tagging resource does not use the providerignore_tagsconfiguration.
Import
Using pulumi import, import aws_autoscaling_group_tag using the ASG name and key, separated by a comma (,). For example:
$ pulumi import aws:autoscaling/tag:Tag example asg-example,k8s.io/cluster-autoscaler/node-template/label/eks.amazonaws.com/capacityTypeContent copied to clipboard