Tag

class Tag : KotlinCustomResource

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 and aws.autoscaling.Tag to manage tags of the same ASG will cause a perpetual difference where the aws.autoscaling.Group resource will try to remove the tag being added by the aws.autoscaling.Tag resource. NOTE: This tagging resource does not use the provider ignore_tags configuration.

Import

aws_autoscaling_group_tag can be imported by using the ASG name and key, separated by a comma (,), e.g.,

$ pulumi import aws:autoscaling/tag:Tag example asg-example,k8s.io/cluster-autoscaler/node-template/label/eks.amazonaws.com/capacityType

Properties

Link copied to clipboard

Name of the Autoscaling Group to apply the tag to.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tag: Output<TagTag>

Tag to create. The tag block is documented below.

Link copied to clipboard
val urn: Output<String>