Skip to content

googleTagsTagKey

Get a tag key within a GCP org by parent and shortName.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.dataGoogleTagsTagKey.DataGoogleTagsTagKey(
  this,
  "environment_tag_key",
  {
    parent: "organizations/12345",
    short_name: "environment",
  }
);

Argument Reference

The following arguments are supported:

  • shortName - (Required) The tag key's short_name.

  • parent - (Required) The resource name of the parent organization in format organizations/{orgId}.

Attributes Reference

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

  • id - an identifier for the resource with format tagKeys/{{name}}

  • name - The generated numeric id for the TagKey.

  • namespacedName - Namespaced name of the TagKey.

  • createTime - Creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

  • updateTime - Update time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".