Iceberg Terraform Provider

Clone this repo:
  1. 65cffc9 Remove polaris resources (#64) by Alex Stephen · 3 days ago main
  2. 0dc587b Bump golang.org/x/net from 0.50.0 to 0.55.0 (#65) by dependabot[bot] · 3 days ago
  3. 62ab931 Bump actions/setup-go from 6.4.0 to 6.5.0 (#66) by dependabot[bot] · 3 days ago
  4. 5f1b3f0 Add data source for iceberg namespace (#55) by Dao Thanh Tung · 10 days ago
  5. b990fa9 Bump actions/checkout from 6.0.3 to 7.0.0 (#62) by dependabot[bot] · 12 days ago

Iceberg Terraform Provider

This Terraform and OpenTofu provider allows you to manage Iceberg resources, such as namespaces and tables.

Supported Data Sources

  • iceberg_namespace: Read metadata for an existing namespace (catalog properties).
  • iceberg_table: Read metadata for an existing table (schema, partition spec, sort order, and catalog properties).

Supported Resources

  • iceberg_namespace: Manage Iceberg namespaces and their properties.
  • iceberg_table: Manage Iceberg tables, including schema definitions and properties.
  • iceberg_polaris_principal: Manage Polaris principals and client credentials (when using a Polaris catalog).

See the provider documentation for examples and attribute reference.

Local Development

Prerequisites

Building the Provider

To build the provider and install it locally , run the build.sh script:

./build.sh

This script will:

  1. Compile the provider binary.
  2. Create a local provider registry at ./terraform-plugins.
  3. Provide a configuration snippet for your ~/.terraformrc (or terraform.rc) file to point Terraform to this local registry.

Get in Touch