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.Group
andaws.autoscaling.Tag
to manage tags of the same ASG will cause a perpetual difference where theaws.autoscaling.Group
resource will try to remove the tag being added by theaws.autoscaling.Tag
resource. NOTE: This tagging resource does not use the providerignore_tags
configuration.
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/capacityType
Content copied to clipboard