Resource: aws_glue_partition

Provides a Glue Partition Resource.

Example Usage

resource "aws_glue_partition" "example" {
  database_name = "some-database"
  table_name    = "some-table"
  values        = ["some-value"]
}

Argument Reference

This resource supports the following arguments:

storage_descriptor
column
ser_de_info
sort_columns
skewed_info

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 Glue Partitions using the catalog ID (usually AWS account ID), database name, table name and partition values. For example:

import {
  to = aws_glue_partition.part
  id = "123456789012:MyDatabase:MyTable:val1#val2"
}

Using terraform import, import Glue Partitions using the catalog ID (usually AWS account ID), database name, table name and partition values. For example:

% terraform import aws_glue_partition.part 123456789012:MyDatabase:MyTable:val1#val2