The polytomic/terraform-export-gh-action
action exports Polytomic resources to
Terraform HCL.
See https://github.com/polytomic/terraform-sync-template for a template repository that configures the action and uses it to create pull requests for changes.