{"id":18729903,"url":"https://github.com/openflagr/terraform-provider-flagr","last_synced_at":"2026-02-12T08:33:17.515Z","repository":{"id":71790871,"uuid":"411799064","full_name":"openflagr/terraform-provider-flagr","owner":"openflagr","description":"[⚠️ UNDER CONSTRUCTION] 🚩 A Terraform Provider to manage Flagr with IaC ","archived":false,"fork":false,"pushed_at":"2022-01-22T16:27:21.000Z","size":154,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-18T23:07:59.115Z","etag":null,"topics":["flagr","provider","terraform"],"latest_commit_sha":null,"homepage":"","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/openflagr.png","metadata":{"files":{"readme":"docs/README.md","changelog":null,"contributing":"docs/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":"2021-09-29T19:09:42.000Z","updated_at":"2022-09-22T09:37:49.000Z","dependencies_parsed_at":"2023-06-10T12:31:06.225Z","dependency_job_id":null,"html_url":"https://github.com/openflagr/terraform-provider-flagr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/openflagr/terraform-provider-flagr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openflagr%2Fterraform-provider-flagr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openflagr%2Fterraform-provider-flagr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openflagr%2Fterraform-provider-flagr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openflagr%2Fterraform-provider-flagr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openflagr","download_url":"https://codeload.github.com/openflagr/terraform-provider-flagr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openflagr%2Fterraform-provider-flagr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29361819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"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":["flagr","provider","terraform"],"created_at":"2024-11-07T14:29:36.111Z","updated_at":"2026-02-12T08:33:17.498Z","avatar_url":"https://github.com/openflagr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Flagr Terraform Provider\n==================\n\u003cp align=\"center\" style=\"display: flex;justify-content: center; align-items: center; height: 200px;\"\u003e\n    \u003cimg src=\"https://avatars.githubusercontent.com/u/49816112?s=400\u0026v=4\" height=\"100px\"\u003e        \u003c\u003e\n    \u003cimg src=\"https://cdn.rawgit.com/hashicorp/terraform-website/master/content/source/assets/images/logo-hashicorp.svg\" height=\"100px\"\u003e\n\u003c/p\u003e\n\nWelcome to the Flagr Terraform provider! With this provider you can create and manage your flags on [flagr](https://github.com/openflagr/flagr)!\n\nTo view the full documentation of this provider, we recommend checking the [Terraform Registry](https://registry.terraform.io/providers/marceloboeira/flagr/latest) - Coming soon!\n\nUsage\n-----\n\n⚠️  The usage represents, as of now, the desired state, not the current state. Below, you are able to see supported features in the feature matrix.\n\n```hcl\nterraform {\n  required_providers {\n    flagr = {\n      source  = \"openflagr/flagr\"\n      version = \"1.0.0\"\n    }\n  }\n}\n\nprovider \"flagr\" {\n  ## Flagr Host\n  host = \"http://flagr.yourdomain.com:18000\"\n\n  ## Flagr Path - Optional, in case your flagr API runs on a custom path\n  # path = \"/api/v1\"\n\n  ## Flagr Authentication - Optional, in case your flagr API runs authenticated\n  ## authentication = \"...\"\n}\n\n# Example key for a release of a new pricing algorithm\nresource \"flagr_flag\" \"pricing-algorithm-v2\" {\n  description = \"Price Algorithm V2\"\n\n  enabled              = true\n  data_records_enabled = true\n\n  variant {\n    key        = \"pricing:v1\"\n    attachment = \"pricing:v1\"\n  }\n\n  variant {\n    key        = \"pricing:v2\"\n    attachment = \"pricing:v2\"\n  }\n\n  segments {\n    description  = \"All traffic\"\n    rollout      = 100\n    distribution = {\n        \"pricing:v1\" = 90\n        \"pricing:v2\" = 10\n    }\n  }\n}\n```\n\nThe example above represents a release of a pricing algorithm, it will split the traffic in 2 parts, 90% gets the regular/existing pricing variant (v1) and 10% gets the new pricing (v2).\n\nReleases\n---------\n\nComing soon!\n\n\n### Compatibility Matrix\n\n|   Target                | Provider Version   |\n|------------------------:|:------------------:|\n|                         |       0.0.0        |\n|  openflagr/flagr:1.1.13 | :white_check_mark: |\n|  openflagr/flagr:1.1.12 | :white_check_mark: |\n|     checkr/flagr:1.1.12 | :white_check_mark: |\n\n\nFeatures\n---------\n\nFor more insights into what each entity means, please reffer to [openflagr-docs](https://openflagr.github.io/flagr/#/flagr_overview).\n\n| Terraform     |        Entity | Feature           | Status   |\n|--------------:|--------------:|------------------:|:--------:|\n| Provider      |               | URL               |  ✅      |\n|               |               | Path              |  ✅      |\n|               |               | Authentication    |  ⚪️      |\n| Data Source   | Flags         | ReadAll           |  ✅      |\n|               |               | Search            |  ⛔️      |\n|               | Flag          | Read (id)         |  ✅      |\n|               |               | Search            |  ⛔️      |\n|               | Variants      | ReadAll (flag-id) |  ⛔️      |\n|               | Variant       | Read (flag-id/id) |  ⛔️      |\n|               | Segments      | ReadAll (flag-id) |  ⛔️      |\n|               | Segment       | Read (flag-id/id) |  ⛔️      |\n| Resource      | Flag          | Read              |  ✅      |\n|               |               | Import            |  ✅      |\n|               |               | Create            |  ✅      |\n|               |               | Update            |  ✅      |\n|               |               | Delete            |  ✅      |\n| Resource      | Variant       | Read              |  ⚪️      |\n|               |               | Import            |  ⚪️      |\n|               |               | Create            |  ⚪️      |\n|               |               | Update            |  ⚪️      |\n|               |               | Delete            |  ⚪️      |\n| Resource      | Segment       | Read              |  ⚪️      |\n|               |               | Import            |  ⚪️      |\n|               |               | Create            |  ⚪️      |\n|               |               | Update            |  ⚪️      |\n|               |               | Delete            |  ⚪️      |\n\n* ✅ - Supported\n* ⚠️  - Partially supported / not stable\n* ⚪️ - Not Supported but part of the roadmap\n* ⛔️ - Not Supported \u0026 no plans for now\n\nMaintainers\n-----------\n\nThis provider plugin is maintained by the [OpenFlagr team](https://github.com/orgs/openflagr/people).\n\nContributing\n------------\n\nRead our [contributors](https://github.com/marceloboeira/terraform-provider-flagr/docs/CONTRIBUTING.md) guide for more info on contributing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenflagr%2Fterraform-provider-flagr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenflagr%2Fterraform-provider-flagr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenflagr%2Fterraform-provider-flagr/lists"}