{"id":18767816,"url":"https://github.com/lightstep/terraform-provider-lightstep","last_synced_at":"2025-04-13T06:32:34.906Z","repository":{"id":37904830,"uuid":"170569466","full_name":"lightstep/terraform-provider-lightstep","owner":"lightstep","description":"Terraform Lightstep provider","archived":false,"fork":false,"pushed_at":"2024-04-08T21:01:52.000Z","size":13480,"stargazers_count":12,"open_issues_count":9,"forks_count":1,"subscribers_count":49,"default_branch":"main","last_synced_at":"2024-04-13T21:54:02.193Z","etag":null,"topics":[],"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/lightstep.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-13T19:48:45.000Z","updated_at":"2024-08-08T20:00:43.213Z","dependencies_parsed_at":"2023-10-04T21:38:32.232Z","dependency_job_id":"2a7fa438-17cb-43be-af73-cec079417f7d","html_url":"https://github.com/lightstep/terraform-provider-lightstep","commit_stats":null,"previous_names":[],"tags_count":127,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightstep%2Fterraform-provider-lightstep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightstep%2Fterraform-provider-lightstep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightstep%2Fterraform-provider-lightstep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightstep%2Fterraform-provider-lightstep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightstep","download_url":"https://codeload.github.com/lightstep/terraform-provider-lightstep/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248674678,"owners_count":21143760,"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":[],"created_at":"2024-11-07T19:08:47.261Z","updated_at":"2025-04-13T06:32:29.864Z","avatar_url":"https://github.com/lightstep.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lightstep Terraform Provider\n\n\nIn August 2023, [Lightstep became ServiceNow\nCloud Observability](https://docs.lightstep.com/docs/banner-faq). To ease the\ntransition, all code artifacts will continue to use the Lightstep name. You\ndon't need to do anything to keep using this provider.\n\n- [Hashicorp Terraform Registry](https://registry.terraform.io/providers/lightstep/lightstep/latest)\n\n## Requirements\n\n- [Terraform](https://www.terraform.io/downloads.html) v1.x+\n\n## Using the provider\n\n- [Install Terraform](https://www.terraform.io/downloads)\n- Write some code to initialize the provider with your Lightstep organization and [API Key](https://docs.lightstep.com/docs/create-and-manage-api-keys) with `member` permissions:\n\n```\nterraform {\n  required_providers {\n    lightstep = {\n      source = \"lightstep/lightstep\"\n      version = \"1.77.2\"\n    }\n  }\n}\n\nprovider \"lightstep\" {\n  api_key         = \"your-lightstep-org-api-key\"\n  organization    = \"your-lightstep-organization\"\n}\n\n# Example: Create AWS EC2 Dashboard\nmodule \"aws-dashboards\" {\n  source            = \"lightstep/aws-dashboards/lightstep//modules/ec2-dashboard\"\n  lightstep_project = \"your-lightstep-project\"\n}\n```\n\n- Run `terraform init`\n- Add some code to define dashboards, streams, alerts, and more. [See documentation](https://registry.terraform.io/providers/lightstep/lightstep/latest/docs) for examples or use [pre-built Lightstep Terraform modules](https://registry.terraform.io/namespaces/lightstep).\n- After setting an environment variable with your API Key that matches the name in the provider configuration above, run `terraform plan` to preview changes.\n\n:warning: If you're creating many Lightstep resources at once, we recommend running the `apply` with the `parallelism` flag set to a low value to avoid API 500 errors:\n\n```\n   # Avoids 500 errors when creating many resources.\n   terraform apply -parallelism=1\n```\n\n## Development\n\nSee [`DEVELOPMENT.md`](DEVELOPMENT.md).\n\n## Exporter\n\nIt's possible to export an existing Lightstep dashboard to HCL code using the provider. This allows you to generate terrform code for a dashboard you created in the Lightstep UI (\"reverse terraform\").\n\nThe `exporter` utility is built-in to the provider binary and requires certain environment variables to be set:\n\n```\n$ export LIGHTSTEP_API_KEY=....\n$ export LIGHTSTEP_ORG=your-org\n$ export LIGHTSTEP_API_BASE_URL='https://api.lightstep.com'\n\n# exports to console dashboard id = rZbPJ33q from project terraform-shop\n$ go run github.com/lightstep/terraform-provider-lightstep exporter lightstep_dashboard terraform-shop rZbPJ33q\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightstep%2Fterraform-provider-lightstep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightstep%2Fterraform-provider-lightstep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightstep%2Fterraform-provider-lightstep/lists"}