The polytomic terraform importer can be used to migrate existing polytomic resources into terraform.
Download the appropriate binary for you architecture from the Releases page.
./polytomic-importer run --api-key $POLYTOMIC_API_KEY --output terraform-imports --replace