{"id":51627014,"url":"https://github.com/runpod/terraform-provider-runpod","last_synced_at":"2026-07-13T02:32:53.044Z","repository":{"id":363415904,"uuid":"1259814460","full_name":"runpod/terraform-provider-runpod","owner":"runpod","description":null,"archived":false,"fork":false,"pushed_at":"2026-07-06T12:14:52.000Z","size":362,"stargazers_count":3,"open_issues_count":4,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-06T14:07:24.086Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/runpod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-04T22:16:03.000Z","updated_at":"2026-07-01T22:11:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/runpod/terraform-provider-runpod","commit_stats":null,"previous_names":["runpod/terraform-provider-runpod"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/runpod/terraform-provider-runpod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod%2Fterraform-provider-runpod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod%2Fterraform-provider-runpod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod%2Fterraform-provider-runpod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod%2Fterraform-provider-runpod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runpod","download_url":"https://codeload.github.com/runpod/terraform-provider-runpod/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod%2Fterraform-provider-runpod/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35408466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-13T02:00:06.543Z","response_time":119,"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":[],"created_at":"2026-07-13T02:32:52.398Z","updated_at":"2026-07-13T02:32:53.036Z","avatar_url":"https://github.com/runpod.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RunPod Terraform Provider\n\nA Terraform provider for managing RunPod infrastructure using the Terraform Plugin Framework.\n\n## Quick Start\n\n### Prerequisites\n\n- Go 1.21 or higher (for development)\n- Terraform 1.0 or higher\n- RunPod API token\n\n### Development Setup (Recommended)\n\nThis provider uses Terraform's `dev_overrides` feature for local development. **No binary building required!**\n\nCreate a Terraform CLI config file at `~/.terraform.d/config.tfrc`:\n\n```hcl\nprovider_installation {\n  dev_overrides {\n    \"runpod/runpod\" = \"./\"\n  }\n  direct {}\n}\n```\n\nThen use the provider in your Terraform configuration:\n\n```hcl\nterraform {\n  required_providers {\n    runpod = {\n      source = \"runpod/runpod\"\n    }\n  }\n}\n\nprovider \"runpod\" {\n  api_key = var.runpod_api_key\n}\n```\n\n### For Production Use\n\nIf you need to build and use a binary:\n\n```bash\ngo build -o terraform-provider-runpod\n```\n\nThen configure Terraform to use the local provider binary:\n\n```hcl\nprovider_installation {\n  filesystem_paths {\n    paths = [\".\"]\n  }\n}\n```\n\n## Usage\n\n### Basic Example\n\n```hcl\nterraform {\n  required_providers {\n    runpod = {\n      source = \"runpod/runpod\"\n    }\n  }\n}\n\n# API key can be set via environment variable RUNPOD_API_KEY\n# or in the provider configuration (not shown in this example)\n\nresource \"runpod_pod\" \"demo\" {\n  machine_id  = \"your-machine-id\"\n  image_name  = \"runpod/miniconda:py3.10-cuda11.8.0\"\n  gpu_count   = 1\n  start_ssh   = true\n}\n```\n\n### Environment Variable\n\nSet your RunPod API key as an environment variable:\n\n```bash\nexport RUNPOD_API_KEY=\"your-api-key-here\"\n```\n\nGet your API key from [RunPod Console](https://runpod.io/console/user/settings)\n\n### Examples Directory\n\n- `examples/basic/` - Basic pod creation\n- `examples/actions/` - Pod actions\n- `examples/datasources/` - Data sources\n- `examples/machine/` - Machine management\n- `examples/monitoring/` - Pod monitoring\n\n## Development\n\n### Provider Specification\n\nThe provider schema is defined in `terraform-provider-spec.json`. To regenerate provider code after modifying the spec:\n\n```bash\ntfplugingen-framework generate all \\\n    --input terraform-provider-spec.json \\\n    --output internal/provider\n```\n\n### Directory Structure\n\n```\nterraform-provider-runpod/\n├── internal/provider/          # Generated code\n│   ├── provider_runpod/\n│   ├── resource_pod/\n│   ├── resource_pod_action/\n│   ├── resource_machine/\n│   ├── datasource_pod/\n│   ├── datasource_machine/\n│   └── ...\n├── examples/                   # Example configurations\n├── main.go                     # Provider entry point\n├── plugin.go                   # Plugin interface\n├── go.mod                      # Go dependencies\n└── terraform-provider-spec.json # Provider schema definition\n```\n\n## API Documentation\n\n- [RunPod API Docs](https://docs.runpod.io)\n- [REST API Reference](https://rest.runpod.io/v1/docs)\n\n## Provider Specification\n\nThe provider specification is defined in `terraform-provider-spec.json` and includes:\n\n### Resources\n\n- `runpod_pod` - Pod management\n- `runpod_pod_action` - Pod actions\n- `runpod_machine` - Machine management\n\n### Data Sources\n\n- `runpod_pod` - Pod information\n- `runpod_machine` - Machine information\n- `runpod_machines` - Machine listing\n- `runpod_gpu_types` - GPU types\n- `runpod_data_centers` - Data centers\n- `runpod_user` - User info\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunpod%2Fterraform-provider-runpod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunpod%2Fterraform-provider-runpod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunpod%2Fterraform-provider-runpod/lists"}