{"id":17744065,"url":"https://github.com/thomasvincent/github-to-terraform","last_synced_at":"2025-08-12T02:14:28.313Z","repository":{"id":243006519,"uuid":"811199763","full_name":"thomasvincent/github-to-terraform","owner":"thomasvincent","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-21T00:25:38.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-22T17:34:16.079Z","etag":null,"topics":["shell","terraform"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thomasvincent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-06T06:17:01.000Z","updated_at":"2024-06-21T00:25:42.000Z","dependencies_parsed_at":"2024-06-21T16:16:10.124Z","dependency_job_id":null,"html_url":"https://github.com/thomasvincent/github-to-terraform","commit_stats":null,"previous_names":["thomasvincent/github-to-terraform"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thomasvincent/github-to-terraform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasvincent%2Fgithub-to-terraform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasvincent%2Fgithub-to-terraform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasvincent%2Fgithub-to-terraform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasvincent%2Fgithub-to-terraform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomasvincent","download_url":"https://codeload.github.com/thomasvincent/github-to-terraform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasvincent%2Fgithub-to-terraform/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269987123,"owners_count":24508176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["shell","terraform"],"created_at":"2024-10-26T06:41:50.927Z","updated_at":"2025-08-12T02:14:23.299Z","avatar_url":"https://github.com/thomasvincent.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Import Automation Script\r\n\r\n## Overview\r\n\r\n`terraport.sh` is a shell script designed to automate the process of importing existing GitHub resources into Terraform. This script leverages the GitHub CLI (`gh`) to list repositories and generate the necessary `terraform import` statements for various GitHub resources. It also configures the directory for Terraform Cloud.\r\n\r\n## Prerequisites\r\n\r\nBefore running the script, ensure you have the following:\r\n\r\n1. **GitHub CLI**: Installed and authenticated. You can install it from [GitHub CLI](https://cli.github.com/).\r\n2. **Terraform**: Installed. You can download it from [Terraform](https://www.terraform.io/downloads.html).\r\n3. **Environment Variables**: Set the following environment variables:\r\n   - `GITHUB_USERNAME`: Your GitHub username.\r\n   - `GITHUB_TOKEN`: Your GitHub personal access token.\r\n   - `TFE_TOKEN`: Your Terraform Cloud API token.\r\n   - `TFE_ORG`: Your Terraform Cloud organization name.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasvincent%2Fgithub-to-terraform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomasvincent%2Fgithub-to-terraform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasvincent%2Fgithub-to-terraform/lists"}