- Complete Terraform provider code for Runpod API
- All resource and data source implementations
- Example configurations
- Provider specification (OpenAPI-based)
To publish this provider to the Terraform Registry:
- Push your code to GitHub (see GitHub documentation for setup)
- Ensure your repository has proper tags and release structure
Follow the Terraform Provider Publishing Guide:
# Tag a release
git tag v1.0.0
git push --tags
# Then publish via Terraform CLI or registry web UITo create releases with binaries for Windows, Linux, and macOS:
# Darwin ARM64
CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -o terraform-provider-runpod_darwin_arm64
# Linux AMD64
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -o terraform-provider-runpod_linux_amd64
# Linux ARM64
CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -o terraform-provider-runpod_linux_arm64
# Windows AMD64
CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -o terraform-provider-runpod_windows_amd64.exeUsers can configure the provider via:
- Environment variable:
RUNPOD_API_KEY - Provider block in Terraform config
- REST API: https://rest.runpod.io/v1/docs
- GraphQL API: https://api.runpod.io/graphql
- Docs: https://docs.runpod.io