{"id":19815935,"url":"https://github.com/replicate/terraform-provider-replicate","last_synced_at":"2026-01-14T13:36:59.395Z","repository":{"id":254831080,"uuid":"819859554","full_name":"replicate/terraform-provider-replicate","owner":"replicate","description":"Terraform provider for Replicate","archived":true,"fork":false,"pushed_at":"2024-11-01T03:17:07.000Z","size":113,"stargazers_count":3,"open_issues_count":9,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-12-17T18:39:03.748Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/replicate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2024-06-25T10:22:22.000Z","updated_at":"2024-11-06T18:41:29.000Z","dependencies_parsed_at":"2024-08-26T12:54:39.609Z","dependency_job_id":"f7181763-2de0-4fd2-91d0-28b17cf646f7","html_url":"https://github.com/replicate/terraform-provider-replicate","commit_stats":null,"previous_names":["replicate/terraform-provider-replicate"],"tags_count":0,"template":false,"template_full_name":"hashicorp/terraform-provider-scaffolding-framework","purl":"pkg:github/replicate/terraform-provider-replicate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fterraform-provider-replicate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fterraform-provider-replicate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fterraform-provider-replicate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fterraform-provider-replicate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/replicate","download_url":"https://codeload.github.com/replicate/terraform-provider-replicate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fterraform-provider-replicate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28421366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-12T10:07:47.836Z","updated_at":"2026-01-14T13:36:59.369Z","avatar_url":"https://github.com/replicate.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Replicate Terraform Provider\n\n[Terraform](https://developer.hashicorp.com/terraform) \nis a tool for [infrastructure as code](https://en.wikipedia.org/wiki/Infrastructure_as_code).\nThis repository contains a Terraform provider for Replicate\nthat lets you define your desired deployment configuration \nand run `terraform apply` to create or update it automatically.\n\n## Requirements\n\n- Terraform \u003e= 1.0\n- Go \u003e= 1.21\n\n## Getting Started\n\nClone the GitHub repository and install the provider:\n\n```console\n$ gh repo clone replicate/terraform-provider-replicate\n$ cd terraform-provider-replicate\n$ go install .\n```\n\nConfigure Terraform to use your local development version of the provider\nby creating a file named  `.terraformrc` in your user directory:\n\n```hcl\n# ~/.terraformrc\nprovider_installation {\n  dev_overrides {\n      \"github.com/replicate/replicate\" = \"~/go/bin\"\n  }\n\n  # For all other providers, install them directly from their origin provider\n  # registries as normal. If you omit this, Terraform will _only_ use\n  # the dev_overrides block, and so no other providers will be available.\n  direct {}\n}\n```\n\n\nCreate a new file named `example.tf`:\n\n```hcl\n# example.tf\nterraform {\n  required_providers {\n    replicate = {\n      source = \"github.com/replicate/replicate\"\n    }\n  }\n}\n\nvariable \"replicate_api_token\" {\n  description = \"API token for the Replicate provider\"\n  type        = string\n  sensitive   = true\n}\n\nprovider \"replicate\" {\n  # NOTE: This is populated from the `TF_VAR_replicate_api_token` environment variable.\n  api_token = var.replicate_api_token\n}\n\nresource \"replicate_deployment\" \"terraform-example\" {\n  owner         = \"mattt\"\n  name          = \"terraform-example\"\n  model         = \"replicate/hello-world\"\n  version       = \"5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa\"\n  hardware      = \"cpu\"\n  min_instances = 0\n  max_instances = 1\n}\n```\n\nSet your [Replicate API token](https://replicate.com/account/api-tokens):\n\n```console\n$ export TF_VAR_replicate_api_token=r8_...\n```\n\nPreview the execution plan:\n\n```console\n$ terraform plan\n# replicate_deployment.terraform-example will be created\n  + resource \"replicate_deployment\" \"example-deployment\" {\n      + owner         = \"replicate-testing\"\n      + name          = \"greeter\"\n      + model         = \"replicate/hello-world\"\n      + version       = \"5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa\"\n      + hardware      = \"cpu\"\n      + max_instances = 1\n      + min_instances = 0\n    }\n```\n\nApply the changes:\n\n```console\n$ terraform apply\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplicate%2Fterraform-provider-replicate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freplicate%2Fterraform-provider-replicate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplicate%2Fterraform-provider-replicate/lists"}