{"id":31904112,"url":"https://github.com/cloudfoundry-community/terraform-provider-cloudfoundry","last_synced_at":"2025-10-13T13:47:24.766Z","repository":{"id":227543998,"uuid":"96343254","full_name":"cloudfoundry-community/terraform-provider-cloudfoundry","owner":"cloudfoundry-community","description":"Terraform Cloud Foundry Provider","archived":false,"fork":false,"pushed_at":"2025-08-20T14:33:47.000Z","size":46754,"stargazers_count":76,"open_issues_count":62,"forks_count":86,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-09-29T02:40:10.880Z","etag":null,"topics":["cf-extensions","terraform-provider"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/cloudfoundry-community/cloudfoundry/latest","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/cloudfoundry-community.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2017-07-05T17:13:04.000Z","updated_at":"2025-08-26T15:53:14.000Z","dependencies_parsed_at":"2024-06-20T09:25:20.937Z","dependency_job_id":"d323e94a-e65a-4197-b707-7bd917ae7ebc","html_url":"https://github.com/cloudfoundry-community/terraform-provider-cloudfoundry","commit_stats":null,"previous_names":["cloudfoundry-community/terraform-provider-cloudfoundry"],"tags_count":46,"template":false,"template_full_name":null,"purl":"pkg:github/cloudfoundry-community/terraform-provider-cloudfoundry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fterraform-provider-cloudfoundry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fterraform-provider-cloudfoundry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fterraform-provider-cloudfoundry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fterraform-provider-cloudfoundry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudfoundry-community","download_url":"https://codeload.github.com/cloudfoundry-community/terraform-provider-cloudfoundry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fterraform-provider-cloudfoundry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015339,"owners_count":26085685,"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-10-13T02:00:06.723Z","response_time":61,"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":["cf-extensions","terraform-provider"],"created_at":"2025-10-13T13:47:22.462Z","updated_at":"2025-10-13T13:47:24.757Z","avatar_url":"https://github.com/cloudfoundry-community.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud Foundry Terraform Provider [![Build Status](https://travis-ci.org/cloudfoundry-community/terraform-provider-cloudfoundry.svg?branch=master)](https://travis-ci.org/cloudfoundry-community/terraform-provider-cloudfoundry)\n\n\nOverview\n--------\n\nThis Terraform provider plugin allows you to configure a Cloud Foundry environment declaratively using [HCL](https://github.com/hashicorp/hcl). \n\n\nThe documentation is available at https://registry.terraform.io/providers/cloudfoundry-community/cloudfoundry\n\nUsing the provider\n------------------\n\nSee doc at https://registry.terraform.io/providers/cloudfoundry-community/cloudfoundry , if you are under terraform 0.13 you can follow installation doc at https://github.com/cloudfoundry-community/terraform-provider-cloudfoundry/wiki  \n\nBuilding The Provider\n---------------------\n\nRequirements:\n- [Terraform](https://www.terraform.io/downloads.html) \u003e= 0.11.14\n- [Go](https://golang.org/doc/install)\n\nClone repository to: `$GOPATH/src/github.com/terraform-providers/terraform-provider-cloudfoundry`\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-cloudfoundry\n```\n\nEnter the provider directory and build the provider\n\n```sh\n$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-cloudfoundry\n$ make build\n```\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.12+ is *required*). \n\n1. git clone this repo\n2. simply run `go build .` for building the provider\n3. add a file at `${HOME}/.terraformrc` and set this content\n```hcl\nproviders {\n\tcloudfoundry = \"path/where/you/have/clone/repo/terraform-provider-cloudfoundry\"\n}\n```\n\nThat's override the path where to found provider binary to use your development version. \n\n\nDebugging the Provider\n----------------------\n\nYou can build a binary of the provider and then starting it with the `-debug` flag. Example\n\n```shell\n$ dlv exec --headless ./terraform-provider-cloudfoundry -- -debug\n```\n\nConnect your debugger (whether it's your IDE or the debugger client) to the debugger server. Have it continue execution (it pauses the process by default) and it will print output like the following to `stdout`:\n\n```text\nProvider started, to attach Terraform set the TF_REATTACH_PROVIDERS env var:\n\n        TF_REATTACH_PROVIDERS='{\"registry.terraform.io/cloudfoundry-community/cloudfoundry\":{\"Protocol\":\"grpc\",\"Pid\":3382870,\"Test\":true,\"Addr\":{\"Network\":\"unix\",\"String\":\"/tmp/plugin713096927\"}}}'\n```\n\nRunning Terraform with the provider in Debug Mode\n-------------------------------------------------\nCopy the line starting with `TF_REATTACH_PROVIDERS` from your provider's output. Either export it, or prefix every Terraform command with it:\n\n```shell\nTF_REATTACH_PROVIDERS='{\"registry.terraform.io/cloudfoundry-community/cloudfoundry\":{\"Protocol\":\"grpc\",\"Pid\":3382870,\"Test\":true,\"Addr\":{\"Network\":\"unix\",\"String\":\"/tmp/plugin713096927\"}}}' terraform apply\n```\n\nTesting the Provider\n--------------------\n\nTo test the provider you will need to run a local PCF Dev instance or launch it in AWS via the `scripts/pcfdev-up.sh`. Once the instance is running you will need to export the following environment variables.\n\n```\nexport CF_API_URL=https://api.local.pcfdev.io\nexport CF_USER=admin\nexport CF_PASSWORD=admin\nexport CF_UAA_CLIENT_ID=admin\nexport CF_UAA_CLIENT_SECRET=admin-client-secret\nexport CF_CA_CERT=\"\"\nexport CF_SKIP_SSL_VALIDATION=true\n```\n\nYou can export the following environment variables to enable detail debug logs.\n\n```\nexport TF_LOG=debug\n```\n\nIn order to run the tests locally, run.\n\n```\ncd cloudfoundry\nTF_ACC=1 go test -v -timeout 120m .\n```\n\nTo run the tests in AWS first launch PCFDev in AWS via `scripts/pcfdev-up.sh`, and then run.\n\n```\nmake testacc\n```\n\n\u003e\u003e Acceptance tests are run against a PCF Dev instance in AWS before a release is created. Any other testing should be done using a local PCF Dev instance.\n\n```sh\n$ make testacc\n```\nUpdate doc\n----------\n\nYou must update doc for resource and data sources in [docs](/docs), this will appears in the next release at https://registry.terraform.io/providers/cloudfoundry-community/cloudfoundry.\n\nSupport\n-------\n\nYou can reach us over [Slack](https://cloudfoundry.slack.com/messages/C7JRBR8CV/)\n\nTerraform Links\n---------------\n\n- Website: https://www.terraform.io\n- [![Gitter chat](https://badges.gitter.im/hashicorp-terraform/Lobby.svg)](https://gitter.im/hashicorp-terraform/Lobby)\n- Mailing list: [Google Groups](http://groups.google.com/group/terraform-tool)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry-community%2Fterraform-provider-cloudfoundry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudfoundry-community%2Fterraform-provider-cloudfoundry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry-community%2Fterraform-provider-cloudfoundry/lists"}