{"id":26063226,"url":"https://github.com/edgio/terraform-provider-edgio","last_synced_at":"2025-10-05T00:28:28.553Z","repository":{"id":256545167,"uuid":"855664601","full_name":"Edgio/terraform-provider-edgio","owner":"Edgio","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-14T07:06:01.000Z","size":105517,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-11-14T08:18:15.072Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Edgio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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}},"created_at":"2024-09-11T08:56:22.000Z","updated_at":"2024-11-14T07:05:18.000Z","dependencies_parsed_at":"2024-09-11T15:48:27.128Z","dependency_job_id":"165e1424-6150-4df3-be07-160cbec038fc","html_url":"https://github.com/Edgio/terraform-provider-edgio","commit_stats":null,"previous_names":["edgio/terraform-provider-edgio"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edgio%2Fterraform-provider-edgio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edgio%2Fterraform-provider-edgio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edgio%2Fterraform-provider-edgio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edgio%2Fterraform-provider-edgio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Edgio","download_url":"https://codeload.github.com/Edgio/terraform-provider-edgio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242580654,"owners_count":20153016,"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":"2025-03-08T16:34:18.280Z","updated_at":"2025-10-05T00:28:28.451Z","avatar_url":"https://github.com/Edgio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edgio Terraform Provider\n\nThis is a Terraform provider for Edgio API. This provider is based on Terraform Plugin Framework, for more information you can check the [Terraform Plugin Framework](https://github.com/hashicorp/terraform-plugin-framework)\n\n## Using the provider\n\n```\nterraform {\n  required_providers {\n    edgio = {\n      source = \"Edgio/edgio\"\n      version = \"0.1.0\"\n    }\n  }\n}\n\nprovider \"edgio\" {\n   client_id     = \"your client id\"\n   client_secret = \"your client secret\"\n}\n```\n\nTo obtain `client_id` and `client_secret`, you need to create an API client on the Edgio platform and you must set necessary permissions for the client. Currently these scopes are required for the provider to work:\n- `app.accounts`\n- `app.config`\n\nFor more information how to create an API client, check the [Edgio API documentation](https://docs.edg.io/applications/v7/rest_api/authentication#~(q~'API*20Clients))\n\n### Examples\nThere are examples in the `examples` directory. To run an example, navigate to the example directory and run `terraform init` and `terraform apply`.\nFor more information check `Readme` in the examples directory.\n\n\n## Development\n\n### Requirements\n\n- [Terraform](https://developer.hashicorp.com/terraform/downloads) \u003e= 1.0\n- [Go](https://golang.org/doc/install) \u003e= 1.21\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\n```shell\ngo install\n```\n\n### Debugging\n\nTo enable terraform debugging you need Dlv:\n\n```shell\ngo get github.com/go-delve/delve/cmd/dlv\n```\n\nBefore running Dlv, you need to build the provider with the following command:\n\n```shell\ngo build -gcflags \"all=-N -l\" -o terraform-provider-edgio\n```\n\nThen you can run the following command to debug the provider:\n\n```shell\ndlv exec --headless --listen=:2345 --api-version=2 ./terraform-provider-edgio\n```\n\nOnce Dlv is running, attach to the process with your IDE, once Dlv detects the connection, it will output the following message:\n\n```shell\nProvider started. To attach Terraform CLI, set the TF_REATTACH_PROVIDERS environment variable with the following:\n\n        TF_REATTACH_PROVIDERS='{\"hashicorp.com/edu/edgio\":{\"Protocol\":\"grpc\",\"ProtocolVersion\":6,\"Pid\":62355,\"Test\":true,\"Addr\":{\"Network\":\"unix\",\"String\":\"/var/folders/hc/mcfd08xn3k55gxznww512l_80000gn/T/plugin4155344464\"}}}'\n```\n\nCopy the `TF_REATTACH_PROVIDERS` environment variable and set it in your terminal, then you can run the terraform command you want to debug.\n\n### Testing\n\nTo run the tests, tou first need to set TF_ACC environment variable to run acceptance tests:\n\n\n```shell\nexport TF_ACC=1\n```\n\nThen you can run unit tests:\n\n```shell\ngo test ./internal/edgio_provider/... -v\n```\n\nAnd for integeration tests:\n\n```shell\ngo test internal/integration_tests -v\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgio%2Fterraform-provider-edgio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgio%2Fterraform-provider-edgio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgio%2Fterraform-provider-edgio/lists"}