Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Lightsail Dev Guide.
lightsail_tag_resource(resourceName, tags)[required] The name of the resource to which you are adding tags.
[required] The tag key and optional value.
svc$tag_resource(
  resourceName = "string",
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)
The tag resource operation supports tag-based access control via
request tags and resource tags applied to the resource identified by
resourceName. For more information, see the Lightsail Dev Guide.