» Data Source: oci_identity_tags

This data source provides the list of Tags in Oracle Cloud Infrastructure Identity service.

Lists the tag definitions in the specified tag namespace.

» Example Usage

data "oci_identity_tags" "test_tags" {
    #Required
    tag_namespace_id = "${oci_identity_tag_namespace.test_tag_namespace.id}"
}

» Argument Reference

The following arguments are supported:

» Attributes Reference

The following attributes are exported:

  • tags - The list of tags.

» Tag Reference

The following attributes are exported:

  • defined_tags - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}`
  • description - The description you assign to the tag.
  • freeform_tags - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
  • id - The OCID of the tag definition.
  • is_cost_tracking - Indicates whether the tag is enabled for cost tracking.
  • is_retired - Indicates whether the tag is retired. See Retiring Key Definitions and Namespace Definitions.
  • name - The name of the tag. The name must be unique across all tags in the tag namespace and can't be changed.
  • tag_namespace_id - The OCID of the namespace that contains the tag definition.
  • time_created - Date and time the tag was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z