Importing your Polytomic workspace into Terraform

The Polytomic Importer tool offers an easy way to import everything in your Polytomic workspace into your Terraform HCL.

Installation

Download the latest binary from the available releases: https://github.com/polytomic/terraform-provider-polytomic/releases.

Usage

polytomic-importer run --api-key ${API_KEY} --output ${DIR}

Github Action

A Github Action to run the Polytomic Importer can be found on the GitHub Marketplace: https://github.com/marketplace/actions/polytomic-terraform-sync.

Polytomic also offers a template repository for running periodic imports to keep the UI and Terraform configuration in sync.


What’s Next