{"id":26059700,"url":"https://github.com/orange-cloudfoundry/terraform-provider-cloudstack","last_synced_at":"2025-03-08T13:27:54.697Z","repository":{"id":37936695,"uuid":"375297482","full_name":"orange-cloudfoundry/terraform-provider-cloudstack","owner":"orange-cloudfoundry","description":"Hard fork of hashicorp/terraform-provider-cloudstack as it is archived","archived":false,"fork":false,"pushed_at":"2024-08-23T16:24:18.000Z","size":22084,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-23T18:28:12.141Z","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/orange-cloudfoundry.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":null,"security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-09T09:22:57.000Z","updated_at":"2024-08-23T16:22:19.000Z","dependencies_parsed_at":"2024-01-12T17:49:51.328Z","dependency_job_id":"d3694242-ae66-48a4-a046-43f9f2307f8a","html_url":"https://github.com/orange-cloudfoundry/terraform-provider-cloudstack","commit_stats":{"total_commits":339,"total_committers":55,"mean_commits":6.163636363636364,"dds":0.5958702064896755,"last_synced_commit":"9f3441446ea708399e1eae0c58564e1460ab9a35"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fterraform-provider-cloudstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fterraform-provider-cloudstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fterraform-provider-cloudstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fterraform-provider-cloudstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orange-cloudfoundry","download_url":"https://codeload.github.com/orange-cloudfoundry/terraform-provider-cloudstack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242555533,"owners_count":20148720,"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-03-08T13:27:54.073Z","updated_at":"2025-03-08T13:27:54.690Z","avatar_url":"https://github.com/orange-cloudfoundry.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"** :warning: THIS is a hard fork and a temporary home of https://github.com/hashicorp/terraform-provider-cloudstack because this repo is considered as archived by hashicorp, you will find new provider supported by apache cloudstack on https://github.com/apache/cloudstack-terraform-provider when it will be ready :warning: **\n\nTerraform 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\u003cimg src=\"https://cdn.rawgit.com/hashicorp/terraform-website/master/content/source/assets/images/logo-hashicorp.svg\" width=\"600px\"\u003e\n\nRequirements\n------------\n\n- [Terraform](https://www.terraform.io/downloads.html) \u003e= 0.13\n- [Go](https://golang.org/doc/install) 1.16 (to build the provider plugin)\n\n## Installations\n\n**Requirements:** You need, of course, terraform (**\u003e=0.13**) which is available here: https://www.terraform.io/downloads.html\n\nAdd to your terraform file:\n\n```hcl\nterraform {\n  required_providers {\n    cfsecurity = {\n      source  = \"orange-cloudfoundry/cloudstack\"\n      version = \"latest\"\n    }\n  }\n}\n```\n\n## Documentation\n\nYou can find documentation at https://registry.terraform.io/providers/orange-cloudfoundry/cloudstack/latest/docs\n\nBuilding The Provider\n---------------------\n\nClone repository to: `$GOPATH/src/github.com/terraform-providers/terraform-provider-cloudstack`\n\n```sh\n$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers\n$ git clone git@github.com:terraform-providers/terraform-provider-cloudstack\n```\n\nEnter the provider directory and build the provider\n\n```sh\n$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-cloudstack\n$ make build\n```\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.14+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`.\n\nTo compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.\n\n```sh\n$ make bin\n...\n$ $GOPATH/bin/terraform-provider-cloudstack\n...\n```\n\nTesting the Provider\n--------------------\n\nIn order to test the provider, you can simply run `make test`.\n\n```sh\n$ make test\n```\n\nIn order to run the full suite of Acceptance tests you will need to run the CloudStack Simulator. Please follow these steps to prepare an environment for running the Acceptance tests:\n\n```sh\n$ docker pull svanharmelen/simulator:4.12.0.0\n$ docker run -d -p 8080:8080 --name cloudstack svanharmelen/simulator:4.12.0.0\n```\n\nWhen Docker started the container you can go to http://localhost:8080/client and login to the CloudStack UI as user `admin` with password `password`. It can take a few minutes for the container is fully ready, so you probably need to wait and refresh the page for a few minutes before the login page is shown.\n\nOnce the login page is shown and you can login, you need to provision a simulated data-center:\n\n```sh\n$ docker exec -ti cloudstack python /root/tools/marvin/marvin/deployDataCenter.py -i /root/setup/dev/advanced.cfg\n```\n\nIf you refresh the client or login again, you will now get passed the initial welcome screen and be able to go to your account details and retrieve the API key and secret. Export those together with the URL:\n\n```sh\n$ export CLOUDSTACK_API_URL=http://localhost:8080/client/api\n$ export CLOUDSTACK_API_KEY=r_gszj7e0ttr_C6CP5QU_1IV82EIOtK4o_K9i_AltVztfO68wpXihKs2Tms6tCMDY4HDmbqHc-DtTamG5x112w\n$ export CLOUDSTACK_SECRET_KEY=tsfMDShFe94f4JkJfEh6_tZZ--w5jqEW7vGL2tkZGQgcdbnxNoq9fRmwAtU5MEGGXOrDlNA6tfvGK14fk_MB6w\n```\n\nIn order for all the tests to pass, you will need to create a new (empty) project in the UI called `terraform`. When the project is created you can run the Acceptance tests against the CloudStack Simulator by simply runnning:\n\n```sh\n$ make testacc\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forange-cloudfoundry%2Fterraform-provider-cloudstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forange-cloudfoundry%2Fterraform-provider-cloudstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forange-cloudfoundry%2Fterraform-provider-cloudstack/lists"}