{"id":19508864,"url":"https://github.com/rhythmictech/terraform-provider-errorcheck","last_synced_at":"2025-08-07T15:42:25.337Z","repository":{"id":34992610,"uuid":"190277517","full_name":"rhythmictech/terraform-provider-errorcheck","owner":"rhythmictech","description":"A custom terraform provider that can be used to do complex validation during planning and validation","archived":false,"fork":false,"pushed_at":"2022-03-28T10:17:27.000Z","size":12959,"stargazers_count":19,"open_issues_count":3,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T07:11:23.554Z","etag":null,"topics":["error-handling","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/rhythmictech/errorcheck/latest","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhythmictech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-04T20:52:41.000Z","updated_at":"2023-06-11T16:02:32.000Z","dependencies_parsed_at":"2022-08-08T03:15:54.305Z","dependency_job_id":null,"html_url":"https://github.com/rhythmictech/terraform-provider-errorcheck","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-provider-errorcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-provider-errorcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-provider-errorcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-provider-errorcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhythmictech","download_url":"https://codeload.github.com/rhythmictech/terraform-provider-errorcheck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250926815,"owners_count":21509041,"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":["error-handling","terraform","terraform-provider"],"created_at":"2024-11-10T23:10:08.226Z","updated_at":"2025-04-26T03:31:47.099Z","avatar_url":"https://github.com/rhythmictech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-provider-errorcheck\nA custom terraform provider that can be used to do complex validation during planning and validation\n\n## **Deprecation warning:**\nWhile we intend on supporting this provider for the forseeable future, we have recently found a way to implement this as a module rather than a provider, allowing greater ease of use with the same interface.  \n[GitHub](https://github.com/rhythmictech/terraform-terraform-errorcheck)  \n[Terraform Registry](https://registry.terraform.io/modules/rhythmictech/errorcheck/terraform/1.0.0)\n\n\n### Installation:\n\nIf you want to use the script directly from this repo:\n`curl -sSL https://raw.githubusercontent.com/rhythmictech/terraform-provider-errorcheck/master/update-provider.sh | bash`\n\nOtherwise you can download `update-provider.sh` and run it locally\n\n### example:\ncode:\n```terraform\nlocals {\n  compare     = \"success\"\n  testSuccess = \"success\"\n  testFail    = \"fail\"\n}\n\nresource \"errorcheck_is_valid\" \"shouldMatch\" {\n  name = \"check_something\"\n  test = {\n    assert = local.compare == local.testSuccess\n    error_message = \"Your assertion is not valid\"\n  }\n}\n\nresource \"errorcheck_is_valid\" \"Not_valid_if_not_match\" {\n  name = \"Should not match\"\n  test = {\n    assert = local.compare == local.testFail\n    error_message = \"Your assertion is not valid\"\n  }\n}\n\n```\noutput:\n```bash\nterraform validate .\n\nError: Your assertion is not valid\n\n  on main.tf line 11, in resource \"errorcheck_is_valid\" \"Not_valid_if_not_match\":\n  11: resource \"errorcheck_is_valid\" \"Not_valid_if_not_match\" {\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmictech%2Fterraform-provider-errorcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhythmictech%2Fterraform-provider-errorcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmictech%2Fterraform-provider-errorcheck/lists"}