{"id":18463943,"url":"https://github.com/unleash/terraform-provider-unleash","last_synced_at":"2026-02-12T16:07:56.629Z","repository":{"id":187192733,"uuid":"671101908","full_name":"Unleash/terraform-provider-unleash","owner":"Unleash","description":"Terraform provider for unleash, the Open-source feature management solution","archived":false,"fork":false,"pushed_at":"2026-02-10T13:33:55.000Z","size":381,"stargazers_count":7,"open_issues_count":13,"forks_count":5,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-02-10T18:18:53.210Z","etag":null,"topics":["cicd","devops","devtools","feature-flags","feature-toggles","unleash"],"latest_commit_sha":null,"homepage":"https://www.getunleash.io","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/Unleash.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":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-26T14:40:50.000Z","updated_at":"2026-02-10T13:26:27.000Z","dependencies_parsed_at":"2023-12-18T14:32:23.200Z","dependency_job_id":"3552bd5d-f104-4f1b-b5b3-d5bf67253890","html_url":"https://github.com/Unleash/terraform-provider-unleash","commit_stats":null,"previous_names":["unleash/terraform-provider-unleash"],"tags_count":31,"template":false,"template_full_name":"hashicorp/terraform-provider-scaffolding-framework","purl":"pkg:github/Unleash/terraform-provider-unleash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unleash%2Fterraform-provider-unleash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unleash%2Fterraform-provider-unleash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unleash%2Fterraform-provider-unleash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unleash%2Fterraform-provider-unleash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Unleash","download_url":"https://codeload.github.com/Unleash/terraform-provider-unleash/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unleash%2Fterraform-provider-unleash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29371621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: 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":["cicd","devops","devtools","feature-flags","feature-toggles","unleash"],"created_at":"2024-11-06T09:08:25.758Z","updated_at":"2026-02-12T16:07:56.597Z","avatar_url":"https://github.com/Unleash.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unleash Terraform Provider\n\n[Join us on Slack](https://slack.unleash.run) at **#terraform-provider**\n\n- Documentation on [terraform registry](https://registry.terraform.io/providers/unleash/unleash/latest/docs)\n\n## Overview\n\nThis terraform provider is not intended to support everything in Unleash. The main focus is to support Unleash's initial setup and configuration.\n\nBecause [feature flags should be short-lived](https://docs.getunleash.io/topics/feature-flags/short-lived-feature-flags), we do not support managing feature flags through Terraform. Feature flags should be managed directly in Unleash.\n\nIf you're interested in using Terraform to manage feature flags, you can use [philips-labs/unleash provider](https://registry.terraform.io/providers/philips-labs/unleash/latest/docs) that supports managing feature flags.\n\nNote that some resources are only available for the enterprise version of Unleash.\n\n## Requirements\n\n- [Terraform](https://www.terraform.io/downloads.html) \u003e= 1.0\n- [Go](https://golang.org/doc/install) \u003e= 1.19\n- Unleash server v5.6.0\n\n## Building The Provider\n\n1. Clone the repository\n1. Enter the repository directory\n1. Build the provider using the Go `install` command:\n\n```shell\ngo install\n```\n\n## Testing\n\nhttps://developer.hashicorp.com/terraform/plugin/testing\n\n**Note**: some tests rely on an enterprise version of Unleash. To run those tests locally you need to set the environment variable `UNLEASH_ENTERPRISE=true`. To run docker with an enterprise image: `UNLEASH_DOCKER_IMAGE=unleashorg/unleash-enterprise:latest docker compose up` (you will also need a valid license key that you can provide at startup with `UNLEASH_DEV_LICENSE=\u003cyour license key\u003e`).\n\nRun tests (most likely we will not have a lot of unit tests but instead we'll have acceptance tests)\n\n```shell\ngo test -count=1 -v ./...\n```\n\nRun **acceptance tests** which cover the provider and resources code\n\n```shell\nTF_LOG=debug TF_ACC=1 go test ./... -v -count=1\n```\n\nTo run enterprise tests (you have to make sure you're running an enterprise server)\n\n```shell\nUNLEASH_ENTERPRISE=true TF_LOG=debug TF_ACC=1 go test ./... -v -count=1\n```\n\nor the following make target (although it will cache results if nothing changes)\n\n```shell\nmake testacc\n```\n\n### Before pushing\n\n- `golangci-lint run --fix` to lint the code (You can install it with `go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest`)\n- `go generate ./...` to update docs\n\n## Using the provider\n\nFill this in for each provider\n\n## Developing the Provider\n\nIf you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (see [Requirements](#requirements) above).\n\nTo compile the provider, run `go install`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.\n\nTo generate or update documentation, run `go generate`.\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```shell\nmake testacc\n```\n\n### Using a local registry\n\nWhen you are developing a Terraform provider it is often very helpful to tell terraform to use your local copy of the provider, instead of trying to download a proper provider from the Terraform Registry.\n\nTo do this we need to create a file in our home directory called .terraformrc that contains a provider_installation section that looks something like this:\n\n```\nprovider_installation {\n  dev_overrides {\n    \"Unleash/unleash\" = \"/usr/local/go/bin/\"\n  }\n  direct {}\n}\n```\n\n\u003e To find your bin path, run `go env` and look at the values for GOPATH and GOROOT. Usually binaries will be installed under `${GOPATH}/bin`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funleash%2Fterraform-provider-unleash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funleash%2Fterraform-provider-unleash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funleash%2Fterraform-provider-unleash/lists"}