Skip to content

Tag

resourcegroups_tag R Documentation

Adds tags to a resource group with the specified ARN

Description

Adds tags to a resource group with the specified ARN. Existing tags on a resource group are not changed if they are not specified in the request parameters.

Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.

Minimum permissions

To run this command, you must have the following permissions:

  • resource-groups:Tag

Usage

resourcegroups_tag(Arn, Tags)

Arguments

Arn

[required] The ARN of the resource group to which to add tags.

Tags

[required] The tags to add to the specified resource group. A tag is a string-to-string map of key-value pairs.

Value

A list with the following syntax:

list(
  Arn = "string",
  Tags = list(
    "string"
  )
)

Request syntax

svc$tag(
  Arn = "string",
  Tags = list(
    "string"
  )
)