This Terraform and OpenTofu provider allows you to manage Iceberg resources, such as namespaces and tables.
The provider is published as apache/iceberg on both the Terraform Registry and the OpenTofu Registry. Declare it in your configuration and run terraform init (or tofu init):
terraform { required_providers { iceberg = { source = "apache/iceberg" } } }
The official Apache releases are source releases, published with signatures and checksums under apache-iceberg-terraform-<version>/ on downloads.apache.org/iceberg. In line with the ASF Release Distribution Policy, the provider binaries on the Terraform and OpenTofu registries are convenience builds made from those source releases.
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).iceberg_tables: List table names in a namespace (catalog discovery).iceberg_namespace: Manage Iceberg namespaces and their properties.iceberg_table: Manage Iceberg tables, including schema definitions and properties.See the provider documentation for examples and attribute reference.
To build the provider and install it locally , run the build.sh script:
./build.sh
This script will:
./terraform-plugins.~/.terraformrc (or terraform.rc) file to point Terraform to this local registry.