{"id":21840265,"url":"https://github.com/zapier/terraform-provider-opslevel","last_synced_at":"2026-05-16T12:33:23.477Z","repository":{"id":39969431,"uuid":"366631322","full_name":"zapier/terraform-provider-opslevel","owner":"zapier","description":"Terraform provider for OpsLevel.com","archived":false,"fork":false,"pushed_at":"2022-08-07T20:02:38.000Z","size":134,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-01-26T11:08:34.167Z","etag":null,"topics":["opslevel","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/zapier/opslevel/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/zapier.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":"2021-05-12T07:34:21.000Z","updated_at":"2022-02-18T03:03:56.000Z","dependencies_parsed_at":"2022-08-25T09:00:54.480Z","dependency_job_id":null,"html_url":"https://github.com/zapier/terraform-provider-opslevel","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapier%2Fterraform-provider-opslevel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapier%2Fterraform-provider-opslevel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapier%2Fterraform-provider-opslevel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapier%2Fterraform-provider-opslevel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapier","download_url":"https://codeload.github.com/zapier/terraform-provider-opslevel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244822907,"owners_count":20516192,"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":["opslevel","terraform","terraform-provider"],"created_at":"2024-11-27T21:25:27.282Z","updated_at":"2026-05-16T12:33:18.453Z","avatar_url":"https://github.com/zapier.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NOTICE\n\u003e OpsLevel now has an officially supported [terraform provider](https://registry.terraform.io/providers/OpsLevel/opslevel/latest/docs) and as such would like to direct you to begin using it over this one.  OpsLevel would like to thank Zapier for beginning this terraform provider as it provided a great jumping off point! \n\n\n---\n\n# terraform-provider-opslevel\n\nTerraform Provider for OpsLevel.com\n\n## Requirements\n\n-\t[Terraform](https://www.terraform.io/downloads.html) \u003e= 0.15.x\n-\t[Go](https://golang.org/doc/install) \u003e= 1.16\n\n\n## Example\n\n```hcl\nterraform {\n  required_providers {\n    opslevel = {\n      source = \"zapier/opslevel\"\n    }\n  }\n}\n\nprovider \"opslevel\" {\n  # token = \"eyJhbGciOi...\" // or environment variable OPSLEVEL_TOKEN\n}\n```\n\n### Create a service\n\n```hcl\nresource \"opslevel_service\" \"foo\" {\n  name = \"foo\"\n\n  description = \"foo service\"\n  framework   = \"rails\"\n  language    = \"ruby\"\n\n  aliases = [\n    \"bar\"\n  ]\n\n  tags = {\n    foo = \"bar\"\n  }\n}\n```\n\n### Read and filter on Services\n\n```terraform\n# read a single service by `alias` or `id`\ndata \"opslevel_services\" \"foo\" {\n  filter {\n    field = \"alias\"\n    value = opslevel_service.foo.aliases.0\n  }\n}\n\n# retrieve several services matching framework\ndata \"opslevel_services\" \"django\" {\n  filter {\n    field = \"framework\"\n    value = \"django\"\n  }\n}\n\n# retrieve several services matching tag\ndata \"opslevel_services\" \"production\" {\n  filter {\n    field = \"tag\"\n    value = \"production:true\"\n  }\n}\n```\n\n### Read Teams from OpsLevel\n\n```terraform\ndata \"opslevel_teams\" \"all\" {}\n\noutput \"all_teams\" {\n  value = data.opslevel_teams.all.teams\n}\n```\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```sh\n$ go install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapier%2Fterraform-provider-opslevel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapier%2Fterraform-provider-opslevel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapier%2Fterraform-provider-opslevel/lists"}