Associates the specified tags to a resource with the specified
resourceArn
. If existing tags on a resource are not specified in the
request parameters, they are not changed. When a resource is deleted,
the tags associated with that resource are deleted as well. Tags that
you create for Amazon EKS resources do not propagate to any other
resources associated with the cluster. For example, if you tag a cluster
with this operation, that tag does not automatically propagate to the
subnets and worker nodes associated with the cluster.
eks_tag_resource(resourceArn, tags)
An empty list.
[required] The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources are Amazon EKS clusters and managed node groups.
[required] The tags to add to the resource. A tag is an array of key-value pairs.
svc$tag_resource(
resourceArn = "string",
tags = list(
"string"
)
)