{"id":18930047,"url":"https://github.com/labd/terraform-provider-folge","last_synced_at":"2026-04-22T16:37:56.443Z","repository":{"id":248578001,"uuid":"823573434","full_name":"labd/terraform-provider-folge","owner":"labd","description":"Terraform provider for Folge","archived":false,"fork":false,"pushed_at":"2026-04-17T09:17:18.000Z","size":92,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-17T11:25:57.095Z","etag":null,"topics":["folge","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"","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/labd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","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},"funding":{"github":["labd"]}},"created_at":"2024-07-03T09:37:15.000Z","updated_at":"2026-04-17T09:17:22.000Z","dependencies_parsed_at":"2025-05-26T12:32:10.649Z","dependency_job_id":null,"html_url":"https://github.com/labd/terraform-provider-folge","commit_stats":null,"previous_names":["labd/terraform-provider-folge"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/labd/terraform-provider-folge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fterraform-provider-folge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fterraform-provider-folge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fterraform-provider-folge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fterraform-provider-folge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/labd","download_url":"https://codeload.github.com/labd/terraform-provider-folge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fterraform-provider-folge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32145870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T15:33:03.595Z","status":"ssl_error","status_checked_at":"2026-04-22T15:30:42.712Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["folge","terraform","terraform-provider"],"created_at":"2024-11-08T11:36:21.179Z","updated_at":"2026-04-22T16:37:51.421Z","avatar_url":"https://github.com/labd.png","language":"Go","funding_links":["https://github.com/sponsors/labd"],"categories":[],"sub_categories":[],"readme":"# Folge Terraform Provider\n\n[![Test status](https://github.com/labd/terraform-provider-folge/workflows/Run%20Tests/badge.svg)](https://github.com/labd/terraform-provider-folge/actions?query=workflow%3A%22Run+Tests%22)\n[![codecov](https://codecov.io/gh/LabD/terraform-provider-folge/branch/master/graph/badge.svg)](https://codecov.io/gh/LabD/terraform-provider-folge)\n[![Go Report Card](https://goreportcard.com/badge/github.com/labd/terraform-provider-folge)](https://goreportcard.com/report/github.com/labd/terraform-provider-folge)\n\nThe Terraform Folge provider allows you to configure your\n[folge](https://app.folge.io/) space with infrastructure-as-code principles.\n\n# Quick start\n\n[Read our documentation](https://registry.terraform.io/providers/labd/folge/latest/docs)\nand check out the [examples](https://registry.terraform.io/providers/labd/folge/latest/docs/guides/examples).\n\n## Usage\n\nThe provider is distributed via the Terraform registry. To use it you need to configure\nthe [`required_provider`](https://www.terraform.io/language/providers/requirements#requiring-providers) block. For example:\n\n```hcl\nterraform {\n  required_providers {\n    folge = {\n      source = \"labd/folge\"\n\n      # It's recommended to pin the version, e.g.:\n      # version = \"~\u003e 0.0.1\"\n    }\n  }\n}\n\nprovider \"folge\" {\n  client_id     = \"\u003cclient-id\u003e\n  client_secret = \"\u003cclient-secret\u003e\"\n}\n\nresource \"folge_application\" \"test\" {\n  name = \"My application\"\n}\n\nresource \"folge_datasource\" \"test\" {\n  application_id = folge_application.test.id\n\n  name = \"My datasource\"\n  url    = \"http://localhost:8000/api/healthcheck\"\n\n  basic_auth {\n    username = \"my-user\"\n    password = \"my-password\"\n  }\n}\n\nresource \"folge_check_http_status\" \"test\" {\n  application_id = folge_application.test.id\n  datasource_id = folge_datasource.test.id\n\n  crontab     = \"*/5 * * * *\"\n  label       = \"My check\"\n  status_code = 200\n}\n\n\nresource \"folge_check_json_property\" \"test\" {\n  application_id = folge_application.test.id\n  datasource_id = folge_datasource.test.id\n\n  crontab    = \"*/5 * * * *\"\n  name       = \"My check\"\n  path       = \"authentication.failed\"\n  operator   = \"eq\"\n  datatype   = \"bool\"\n  value_bool = false\n}\n\n\n# Forwards metrics to an OpenTelemetry Collector\nresource \"folge_metrics_reader\" \"test\" {\n  datasource_id = folge_datasource.test.id\n\n  crontab = \"*/5 * * * *\"\n  fields  = [\"*\"]\n\n  target = {\n    type = \"otel\"\n    url  = \"http://localhost:4317\"\n    headers = {\n      \"X-Api-Key\" = \"secret\"\n    }\n  }\n}\n\n\n# Store metrics in folge\nresource \"folge_metrics_reader\" \"test\" {\n  datasource_id = folge_datasource.test.id\n\n  crontab = \"*/5 * * * *\"\n  fields  = [\"*\"]\n\n  target = {\n    type = \"internal\"\n  }\n}\n```\n\n# Contributing\n\n## Building the provider\n\nClone the repository and run the following command:\n\n```sh\n$ task build-local\n```\n\n## Debugging / Troubleshooting\n\nThere are two environment settings for troubleshooting:\n\n- `TF_LOG=INFO` enables debug output for Terraform.\n\nNote this generates a lot of output!\n\n## Releasing\n\nInstall \"changie\"\n\n```\nbrew tap miniscruff/changie https://github.com/miniscruff/changie\nbrew install changie\n```\n\nAdd unreleased change files by running for each change (add/fix/remove/etc.)\n\n```\nchangie new\n```\n\nCommit this and a new PR will be created.\n\nOnce that's merged and its Github action is complete, a new release will be live.\n\n## Testing\n\n### Running unit tests\n\n```sh\n$ task test\n```\n\n### Running acceptance tests\n\n```sh\n$ task testacc\n```\n\nNote that acceptance tests by default run based on pre-recorded results. The\ntest stubs can be found in [internal/assets] (./internal/assets). A good habit\nis to create a separate stub file per test case, as otherwise there might be\nconflicts when multiple tests are run in parallel.\n\nWhen adding or updating tests locally you can set `RECORD=true` to re-record\nresults. This will clear all previous results and create a new snapshot of the\nAPI interaction.\n\n## Authors\n\nThis project is developed by [Lab Digital](https://www.labdigital.nl). We\nwelcome additional contributors. Please see our\n[GitHub repository](https://github.com/labd/terraform-provider-folge)\nfor more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabd%2Fterraform-provider-folge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flabd%2Fterraform-provider-folge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabd%2Fterraform-provider-folge/lists"}