{"id":13505775,"url":"https://github.com/ucloud/terraform-provider-ucloud","last_synced_at":"2025-08-08T02:11:14.814Z","repository":{"id":40366588,"uuid":"162491815","full_name":"ucloud/terraform-provider-ucloud","owner":"ucloud","description":"Terraform is an awesome tool to implement Infrastructure as Code and GitOps","archived":false,"fork":false,"pushed_at":"2024-04-24T23:35:44.000Z","size":15064,"stargazers_count":69,"open_issues_count":23,"forks_count":22,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-05-26T19:05:47.168Z","etag":null,"topics":["terraform","terraform-provider","ucloud"],"latest_commit_sha":null,"homepage":"https://www.terraform.io/docs/providers/ucloud/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ucloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2018-12-19T21:17:39.000Z","updated_at":"2024-12-22T09:07:23.000Z","dependencies_parsed_at":"2023-01-21T04:45:10.394Z","dependency_job_id":"82d31a67-19eb-4ce9-ae70-1280af42cb76","html_url":"https://github.com/ucloud/terraform-provider-ucloud","commit_stats":null,"previous_names":[],"tags_count":69,"template":false,"template_full_name":null,"purl":"pkg:github/ucloud/terraform-provider-ucloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucloud%2Fterraform-provider-ucloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucloud%2Fterraform-provider-ucloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucloud%2Fterraform-provider-ucloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucloud%2Fterraform-provider-ucloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ucloud","download_url":"https://codeload.github.com/ucloud/terraform-provider-ucloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucloud%2Fterraform-provider-ucloud/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269351910,"owners_count":24402678,"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-08T02:00:09.200Z","response_time":72,"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":["terraform","terraform-provider","ucloud"],"created_at":"2024-08-01T00:01:13.425Z","updated_at":"2025-08-08T02:11:14.789Z","avatar_url":"https://github.com/ucloud.png","language":"Go","readme":"Terraform Provider\n==================\n\n- Website: https://www.terraform.io\n- [![Gitter chat](https://badges.gitter.im/hashicorp-terraform/Lobby.png)](https://gitter.im/hashicorp-terraform/Lobby)\n- Mailing list: [Google Groups](http://groups.google.com/group/terraform-tool)\n\n\u003ca href=\"https://terraform.io\"\u003e\n    \u003cimg src=\".github/terraform_logo.svg\" width=\"600px\"\u003e\n\u003c/a\u003e\n\nRequirements\n------------\n\n- [Terraform](https://www.terraform.io/downloads.html) 0.13.x\n- [Go](https://golang.org/doc/install) 1.18+ (to build the provider plugin)\n\nBuilding The Provider\n---------------------\n\nClone repository to: `/path/to/terraform-provider-ucloud`\n\n```shell\ngit clone git@github.com:ucloud/terraform-provider-ucloud /path/to/terraform-provider-ucloud\n```\n\nEnter the provider directory and build the provider\n\n```shell\ncd /path/to/terraform-provider-ucloud\nmake build\n```\n\nUsing the provider\n----------------------\n\nIf you're building the provider, follow the instructions to [install it as a plugin.](https://www.terraform.io/docs/plugins/basics.html#installing-a-plugin) After placing it into your plugins directory,  run `terraform init` to initialize it.\n\nDeveloping the Provider\n---------------------------\n\nIf you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.18+ is *required*).\n\nTo compile the provider, run `make build`. This will build the provider and put the provider binary in the `bin` directory.\n\n```sh\nmake build\n./bin/terraform-provider-ucloud\n```\n\nIn order to test the provider, you can simply run `make test`.\n\n```sh\nmake test\n```\n\nIn order to run the full suite of Acceptance tests, run `make testacc`.\n\n*Note:* Acceptance tests create real resources, and often cost money to run.\n\n```sh\nmake testacc\n```\n\nReplace the default binary\n---------------------------\n\nYou can replace the default provider with the compiled dev binary, first run `make dev`:\n\n```shell\nmake dev\n```\n\nThen, create a terraform config file in `~/.terraformrc`, add the following content:\n\n```hcl\nprovider_installation {\n\n  dev_overrides {\n    \"ucloud/ucloud\" = \"{your-home}/.terraform.d/plugins\"\n  }\n\n  direct {}\n}\n```\n\nNow, the `ucloud` provider will be replaced to your compiled binary, when you executing `terraform` command, you will see the following message:\n\n```\n| Warning: Provider development overrides are in effect\n│\n│ The following provider development overrides are set in the CLI configuration:\n│  - ucloud/ucloud in {your-home}/.terraform.d/plugins\n│\n│ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become\n│ incompatible with published releases.\n```\n\nAfter development done, you should clean the `~/.terraformrc` file.\n\n## Acceptance Testing\n\nBefore making a release, the resources and data sources are tested automatically with acceptance tests (the tests are located in the `ucloud/*_test.go` files).\n\nYou can run them by entering the following instructions in a terminal:\n\n```\ncd /path/to/terraform-provider-ucloud\nexport UCLOUD_PUBLIC_KEY=xxx\nexport UCLOUD_PRIVATE_KEY=xxx\nexport UCLOUD_REGION=xxx\nexport UCLOUD_PROJECT_ID=xxx\nTF_ACC=1 TF_LOG=INFO go test ./ucloud -v -run=\"^TestAccUCloud\" -timeout=1440m\n```\n\n## Reference\n\nUCloud Provider [Official Docs](https://www.terraform.io/docs/providers/ucloud/index.html)\n","funding_links":[],"categories":["Providers"],"sub_categories":["Vendor supported providers"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucloud%2Fterraform-provider-ucloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fucloud%2Fterraform-provider-ucloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucloud%2Fterraform-provider-ucloud/lists"}