{"id":15156461,"url":"https://github.com/sysdiglabs/terraform-provider-sysdig","last_synced_at":"2025-12-16T13:48:05.990Z","repository":{"id":38821883,"uuid":"140279295","full_name":"sysdiglabs/terraform-provider-sysdig","owner":"sysdiglabs","description":"Sysdig Terraform provider. Allow to handle Sysdig Secure policies as code.","archived":false,"fork":false,"pushed_at":"2025-12-10T17:00:35.000Z","size":2838,"stargazers_count":54,"open_issues_count":2,"forks_count":54,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-12-11T00:34:44.090Z","etag":null,"topics":["sysdig-monitor","sysdig-platform","sysdig-secure","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/sysdiglabs/sysdig/latest/docs","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/sysdiglabs.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":"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}},"created_at":"2018-07-09T12:01:51.000Z","updated_at":"2025-12-10T17:00:38.000Z","dependencies_parsed_at":"2023-11-21T16:39:56.828Z","dependency_job_id":"29a01e49-a894-44c5-adec-50b27d54937f","html_url":"https://github.com/sysdiglabs/terraform-provider-sysdig","commit_stats":{"total_commits":425,"total_committers":68,"mean_commits":6.25,"dds":0.7552941176470588,"last_synced_commit":"0c2b3cfb7b4c69965b895f88f4af1b891ccf3d77"},"previous_names":["draios/terraform-provider-sysdig"],"tags_count":172,"template":false,"template_full_name":null,"purl":"pkg:github/sysdiglabs/terraform-provider-sysdig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Fterraform-provider-sysdig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Fterraform-provider-sysdig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Fterraform-provider-sysdig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Fterraform-provider-sysdig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sysdiglabs","download_url":"https://codeload.github.com/sysdiglabs/terraform-provider-sysdig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Fterraform-provider-sysdig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27765555,"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","status":"online","status_checked_at":"2025-12-16T02:00:10.477Z","response_time":57,"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":["sysdig-monitor","sysdig-platform","sysdig-secure","terraform","terraform-provider"],"created_at":"2024-09-26T19:21:45.214Z","updated_at":"2025-12-16T13:48:05.981Z","avatar_url":"https://github.com/sysdiglabs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://terraform.io\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/hashicorp/terraform-provider-aws/main/.github/terraform_logo_dark.svg\"\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/hashicorp/terraform-provider-aws/main/.github/terraform_logo_light.svg\"\u003e\n    \u003cimg src=\".github/terraform_logo_light.svg\" alt=\"Terraform logo\" title=\"Terraform\" align=\"right\" height=\"50\"\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n\n# Terraform Provider for Sysdig\n\n- **[Terraform Registry - Sysdig Provider Docs](https://registry.terraform.io/providers/sysdiglabs/sysdig/latest/docs)**\n- [Blog on how to use this provider with Sysdig Secure](https://sysdig.com/blog/using-terraform-for-container-security-as-code/)\n\n\n## Contribute\n\n- [Requirements](#requirements)\n- [Develop](#develop)\n- [Compile](#compile)\n- [Test](#tests)\n- [Install](#install-local)\n- [Proposing PR's](#proposing-prs)\n- [Release](#release)\n\n## Requirements\n\n- [Terraform](https://www.terraform.io/downloads.html) \u003e= 1.0 is recommended (the provider supports \u003e 0.12.x)\n- [Go](https://golang.org/doc/install) \u003e Go version specified in [go.mod](./go.mod#L3)\n\n## Develop\n\nFirst **clone** the source repository:\n\n```sh\n$ git clone git@github.com:draios/terraform-provider-sysdig\n$ cd terraform-provider-sysdig\n$ make build\n```\n\nIf you're a rookie, check [Official Terraform Provider development guides](https://developer.hashicorp.com/terraform/plugin/framework)\n\n### Creating new resource / data sources\n\nTL;DR;\n- Create the resource/data source item\n- Add the created item into the `provider.go` resource or datasource map with its wiring\n- With its [acceptance **test**](#tests)\n- Add its **documentation** page on `./website/docs/`\n\n## Compile\n\nTo **compile** the provider, run `make build`. This will build the provider and put the provider binary in the `$(go env GOPATH)/bin` directory, which should be in your `PATH`.\n\n```sh\n$ make build\n$ $GOPATH/bin/terraform-provider-sysdig\n```\n\n## Tests\n\nIn order to **test** the provider, you can simply run `make test` to run unit-tests.\nFor acceptance tests, you can run `make testacc`, but note that \n- Sysdig Montir and/or Secure credentials are required, check [`/.envrc.template`](https://github.com/sysdiglabs/terraform-provider-sysdig/blob/master/.envrc.template)\n- **acceptance tests rely on the creation of real infrastructure**, you should execute them in an environment where you can remove the resources easily.\n\nIf you're a rookie, check [Terraform acceptance test guidelines](https://developer.hashicorp.com/terraform/plugin/testing)\n\n\n## Install (local)\nTo use the local provider you just built, follow the instructions to [**install** it as a plugin.](https://www.terraform.io/docs/plugins/basics.html#installing-a-plugin) in your machine with:\n\n```sh\n$ make install\n```\n\nThat will add the provider to the terraform plugins dir. Then just set `source` and `version` values appropriately:\n\n```terraform\nprovider \"aws\" {\n  region = my_region\n}\n\nterraform {\n  required_providers {\n    sysdig = {\n      source = \"local/sysdiglabs/sysdig\"\n      version = \"~\u003e 3.0.0\"\n    }\n  }\n}\n```\n\nTo uninstall the plugin:\n\n```sh\n$ make uninstall\n```\n\n## Proposing PR's\n\n* if it's your first time, validate you're taking into account every aspect of the [`./github/pull_request_template`](.github/pull_request_template.md)\n* on pull-requests some validations are enforced.\n  - Defined in [`/.pre-commit-config.yaml`](https://github.com/sysdiglabs/terraform-provider-sysdig/blob/master/.pre-commit-config.yaml)\n  - You can work on this before even pushing to remote, using [**pre-commit**](https://pre-commit.com) plugin\n  \n* for the PR title use [conventional commit format](https://www.conventionalcommits.org/en/v1.0.0/) so when the branch is squashed to main branch it follows a convention\n* acceptance tests are launched in [Sysdig production `+kubelab` test environment](https://github.com/sysdiglabs/terraform-provider-sysdig/blob/master/.github/workflows/ci-pull-request.yml#L82-L83)\n\n\n## Release\n\nTo create a new release, create and push a new **tag**, and it will be released  following [`/.\ngithub/workflows/release.yml`](https://github.com/sysdiglabs/terraform-provider-sysdig/blob/master/.github/workflows/release.yml).\n \n* Before releasing check the **diff** between previous tag and master branch, to spot major changes\n* For **tag**, use **[semver](https://semver.org)** \n* Review Released Draft Note, and make it as clear as possible.\n* Notify Sysdig teams on our internal #release-announcements slack channel and optionally in #terraform-provider\n\n\u003cbr/\u003e\u003cbr/\u003e\n\nMange takk!\n\n![giphy](https://user-images.githubusercontent.com/1073243/200767344-7435f322-24c0-44d2-ac56-468791c84ca5.gif)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysdiglabs%2Fterraform-provider-sysdig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsysdiglabs%2Fterraform-provider-sysdig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysdiglabs%2Fterraform-provider-sysdig/lists"}