google_tags_tag_key

A TagKey, used to group a set of TagValues.

To get more information about TagKey, see:

Example Usage - Tag Key Basic

resource "google_tags_tag_key" "key" {
  parent = "organizations/123456789"
  short_name = "keyname"
  description = "For keyname resources."
}

Argument Reference

The following arguments are supported:


Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Timeouts

This resource provides the following Timeouts configuration options:

Import

TagKey can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import TagKey using one of the formats above. For example:

import {
  id = "tagKeys/{{name}}"
  to = google_tags_tag_key.default
}

When using the terraform import command, TagKey can be imported using one of the formats above. For example:

$ terraform import google_tags_tag_key.default tagKeys/{{name}}
$ terraform import google_tags_tag_key.default {{name}}