Resource: aws_cleanrooms_configured_table

Provides a AWS Clean Rooms configured table. Configured tables are used to represent references to existing tables in the AWS Glue Data Catalog.

Example Usage

Configured table with tags

resource "aws_cleanrooms_configured_table" "test_configured_table" {
  name            = "terraform-example-table"
  description     = "I made this table with terraform!"
  analysis_method = "DIRECT_QUERY"
  allowed_columns = [
    "column1",
    "column2",
    "column3",
  ]

  table_reference {
    database_name = "example_database"
    table_name    = "example_table"
  }

  tags = {
    Project = "Terraform"
  }
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

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

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import aws_cleanrooms_configured_table using the id. For example:

import {
  to = aws_cleanrooms_configured_table.table
  id = "1234abcd-12ab-34cd-56ef-1234567890ab"
}

Using terraform import, import aws_cleanrooms_configured_table using the id. For example:

% terraform import aws_cleanrooms_configured_table.table 1234abcd-12ab-34cd-56ef-1234567890ab