{"id":27185049,"url":"https://github.com/threefoldtech/terraform-provider-grid","last_synced_at":"2025-07-27T00:10:35.420Z","repository":{"id":37870648,"uuid":"393969119","full_name":"threefoldtech/terraform-provider-grid","owner":"threefoldtech","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-19T12:49:54.000Z","size":1916,"stargazers_count":8,"open_issues_count":10,"forks_count":6,"subscribers_count":14,"default_branch":"development","last_synced_at":"2025-04-09T17:10:02.184Z","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/threefoldtech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-08T13:32:18.000Z","updated_at":"2025-01-19T12:49:54.000Z","dependencies_parsed_at":"2022-07-09T04:16:58.646Z","dependency_job_id":"59c4fd39-020f-422f-8e32-d5da0b600767","html_url":"https://github.com/threefoldtech/terraform-provider-grid","commit_stats":null,"previous_names":[],"tags_count":93,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Fterraform-provider-grid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Fterraform-provider-grid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Fterraform-provider-grid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Fterraform-provider-grid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threefoldtech","download_url":"https://codeload.github.com/threefoldtech/terraform-provider-grid/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248074976,"owners_count":21043490,"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","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":"2025-04-09T17:10:15.765Z","updated_at":"2025-04-09T17:10:16.326Z","avatar_url":"https://github.com/threefoldtech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grid provider for terraform\n\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/cd6e18aac6be404ab89ec160b4b36671)](https://www.codacy.com/gh/threefoldtech/terraform-provider-grid/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=threefoldtech/terraform-provider-grid\u0026amp;utm_campaign=Badge_Grade) [![Testing](https://github.com/threefoldtech/terraform-provider-grid/actions/workflows/test.yml/badge.svg?branch=development)](https://github.com/threefoldtech/terraform-provider-grid/actions/workflows/test.yml) [![Testing](https://github.com/threefoldtech/terraform-provider-grid/actions/workflows/lint.yml/badge.svg?branch=development)](https://github.com/threefoldtech/terraform-provider-grid/actions/workflows/lint.yml) [![Testing](https://github.com/threefoldtech/terraform-provider-grid/actions/workflows/terratest.yml/badge.svg?branch=development)](https://github.com/threefoldtech/terraform-provider-grid/actions/workflows/terratest.yml) [![Dependabot](https://badgen.net/badge/Dependabot/enabled/green?icon=dependabot)](https://dependabot.com/)\n\nA terraform provider for the [threefold grid](https://threefold.io) to manage your infrastructure using terraform.\n\n## Requirements\n\n- [Terraform](https://www.terraform.io/downloads.html) \u003e= 0.13.x\n- [Go](https://golang.org/doc/install) \u003e= 1.21\n- [Gettting started document](https://manual.grid.tf/documentation/system_administrators/terraform/terraform_readme.html#get-started)\n\n## Using provider for different environments\n\n- to use the `mainnet`'s version of the provider for `v1.7.0`, use the following configs:\n\n  ```terraform\n  terraform {\n    required_providers {\n      grid = {\n        source = \"threefoldtech/grid\"\n      }\n    }\n  }\n  ```\n\n- to use the `testnet`'s version of the provider for `v1.7.0`, use the following configs:\n\n  ```terraform\n  terraform{\n    required_providers{\n      grid = {\n        source = \"threeflodtech/grid\"\n        version = \"1.7.0-rcX\"\n      }\n    }\n  }\n  ```\n\n- for devnet, qanet use `\u003cVERSION\u003e-dev` and `\u003cVERSION\u003e-qa` respectivly\n\n## Generating the docs\n\n```bash\nmake docs\n```\n\n## Using the provider\n\n```bash\ncd examples/resources/singlenode\nexport MNEMONIC=\"mnemonic words\"\nexport NETWORK=\"network\" # dev, qa, test, main\nterraform init \u0026\u0026 terraform apply # creates resources defined in main.tf\nterraform destroy # destroy the created resource\n```\n\n- For a tutorials, please visit the [wiki](https://manual.grid.tf/documentation/system_administrators/terraform/terraform_readme.html#get-started) page.\n- Detailed docs for resources and their arguments can be found in the [docs](docs).\n\n## Building The Provider (for development only)\n\n```bash\nmake\n```\n\n## Run tests\n\n```bash\nexport MNEMONIC=\"mnemonic words\"\nexport NETWORK=\"network\" # dev, qa, test, main\n```\n\n- ### Unit tests\n\n  ```bash\n  make unittests\n  ```\n\n- ### Integration tests\n\n  ```bash\n  make integration\n  ```\n\n  - if you want to run one test use:\n\n    ```bash\n    cd integrationtests\n    go test . -run \u003cTestNameFunction\u003e -v --tags=integration \n    go test . -run \u003cTestNameFunction/SubFunctionName\u003e -v --tags=integration #for testing only one sub-function\n    ```\n\n## Known Issues\n\n- [increasing IPs in active deployment](https://github.com/threefoldtech/terraform-provider-grid/issues/15)\n- [same private ips for parallel deployments](https://github.com/threefoldtech/terraform-provider-grid/issues/781#issuecomment-1865961184)\n  \n## Latest Releases\n\n- Releasing for each environment is done using the methods in this [Wiki](wiki/release.md#releasing-for-each-environment)\n- For latest releases [terraform-provider-grid](https://registry.terraform.io/providers/threefoldtech/grid/latest)\n\n## Using example directory\n\n- the examples directory contains some examples to show user how to use the provider so kindly note that\n  - User should change the nodes to match the node that wants to deploy on\n  - In examples that uses`SSH_KEY` default location is `file(\"~/.ssh/id_rsa.pub\")` the path should be changed to match your public key location\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreefoldtech%2Fterraform-provider-grid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreefoldtech%2Fterraform-provider-grid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreefoldtech%2Fterraform-provider-grid/lists"}