Resource: aws_lakeformation_lf_tag

Creates an LF-Tag with the specified name and values. Each key must have at least one value. The maximum number of values permitted is 15.

Example Usage

resource "aws_lakeformation_lf_tag" "example" {
  key    = "module"
  values = ["Orders", "Sales", "Customers"]
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import Lake Formation LF-Tags using the catalog_id:key. If you have not set a Catalog ID specify the AWS Account ID that the database is in. For example:

import {
  to = aws_lakeformation_lf_tag.example
  id = "123456789012:some_key"
}

Using terraform import, import Lake Formation LF-Tags using the catalog_id:key. If you have not set a Catalog ID specify the AWS Account ID that the database is in. For example:

% terraform import aws_lakeformation_lf_tag.example 123456789012:some_key