{"id":48834874,"url":"https://github.com/timofurrer/terraform-provider-desec","last_synced_at":"2026-04-14T22:30:47.225Z","repository":{"id":343466869,"uuid":"1175940858","full_name":"timofurrer/terraform-provider-desec","owner":"timofurrer","description":"Terraform / OpenTofu Provider for deSEC (desec.io)","archived":false,"fork":false,"pushed_at":"2026-03-17T15:41:32.000Z","size":965,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-18T01:41:05.050Z","etag":null,"topics":["desec","dns","opentofu","provider","terraform"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/timofurrer/desec/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/timofurrer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-08T11:52:51.000Z","updated_at":"2026-03-17T15:41:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/timofurrer/terraform-provider-desec","commit_stats":null,"previous_names":["timofurrer/terraform-provider-desec"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/timofurrer/terraform-provider-desec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timofurrer%2Fterraform-provider-desec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timofurrer%2Fterraform-provider-desec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timofurrer%2Fterraform-provider-desec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timofurrer%2Fterraform-provider-desec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timofurrer","download_url":"https://codeload.github.com/timofurrer/terraform-provider-desec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timofurrer%2Fterraform-provider-desec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31818831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["desec","dns","opentofu","provider","terraform"],"created_at":"2026-04-14T22:30:46.354Z","updated_at":"2026-04-14T22:30:47.218Z","avatar_url":"https://github.com/timofurrer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform / OpenTofu Provider for deSEC\n\n[deSEC](https://desec.io) is a free, open-source DNS hosting service with a focus on security and privacy. This Terraform/OpenTofu provider lets you manage deSEC resources - DNS domains, record sets, API tokens, and token scoping policies - as infrastructure code.\n\n## Using the provider\n\nInstall the provider by adding it to your `required_providers` block:\n\n```hcl\nterraform {\n  required_providers {\n    desec = {\n      source  = \"timofurrer/desec\"\n      version = \"~\u003e 0\"\n    }\n  }\n}\n```\n\nConfigure the provider with your deSEC API token. The token can also be\nsupplied via the `DESEC_API_TOKEN` environment variable:\n\n```hcl\nprovider \"desec\" {\n  api_token = \"your-desec-api-token\"\n}\n```\n\nCreate a DNS zone and add records:\n\n```hcl\nresource \"desec_domain\" \"example\" {\n  name = \"example.com\"\n}\n\nresource \"desec_rrset\" \"www\" {\n  domain  = desec_domain.example.name\n  subname = \"www\"\n  type    = \"A\"\n  ttl     = 3600\n  rdata   = [\"1.2.3.4\"]\n}\n\ndata \"desec_rrset\" \"nameservers\" {\n  domain  = desec_domain.example.name\n  subname = \"@\"\n  type    = \"NS\"\n}\n\noutput \"nameservers\" {\n  description = \"The deSEC nameservers to enter at your domain registrar.\"\n  value       = data.desec_rrset.nameservers.rdata\n}\n```\n\nFor the full list of resources, data sources, and configuration options see the\n[provider documentation](https://registry.terraform.io/providers/timofurrer/desec/latest/docs).\n\nThen commit the changes to `go.mod` and `go.sum`.\n\n## Developing the Provider\n\nIf you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine.\n\nTo compile the provider, run `make playground`. This will build the provider and put the provider binary in the `./bin` directory.\n\nHave a look at the `playground` folder to see how to use this development build.\n\nTo generate or update documentation, run `make generate`.\n\n### Acceptance tests\n\nBy default, acceptance tests run against an in-memory fake deSEC API server.\nNo real account or credentials are needed, and each test gets a fresh isolated\nserver instance with no shared state:\n\n```shell\nmake testacc\n```\n\nTo run a specific test, use the `RUN` variable:\n\n```shell\nmake testacc RUN=TestAccDomainResource\n```\n\nTo run against the real deSEC API instead, set `DESEC_REAL_API=1` and provide\na valid API token via `DESEC_API_TOKEN`. An optional `DESEC_API_URL` override\nis also supported (defaults to `https://desec.io/api/v1`):\n\n```shell\nDESEC_REAL_API=1 DESEC_API_TOKEN=your-token make testacc\n```\n\n**Note:** Running against the real API will create and delete actual resources\nin your deSEC account and may trigger rate limits.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimofurrer%2Fterraform-provider-desec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimofurrer%2Fterraform-provider-desec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimofurrer%2Fterraform-provider-desec/lists"}