{"id":42164422,"url":"https://github.com/isometry/terraform-provider-ad","last_synced_at":"2026-01-26T20:48:39.502Z","repository":{"id":320555776,"uuid":"1042221134","full_name":"isometry/terraform-provider-ad","owner":"isometry","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-24T11:59:51.000Z","size":465,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-24T13:28:17.735Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isometry.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2025-08-21T17:09:04.000Z","updated_at":"2025-10-24T11:59:41.000Z","dependencies_parsed_at":"2025-10-24T13:28:30.026Z","dependency_job_id":null,"html_url":"https://github.com/isometry/terraform-provider-ad","commit_stats":null,"previous_names":["isometry/terraform-provider-ad"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/isometry/terraform-provider-ad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isometry%2Fterraform-provider-ad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isometry%2Fterraform-provider-ad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isometry%2Fterraform-provider-ad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isometry%2Fterraform-provider-ad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isometry","download_url":"https://codeload.github.com/isometry/terraform-provider-ad/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isometry%2Fterraform-provider-ad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28787434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"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":[],"created_at":"2026-01-26T20:48:38.768Z","updated_at":"2026-01-26T20:48:39.485Z","avatar_url":"https://github.com/isometry.png","language":"Go","readme":"# Terraform Provider for Active Directory\n\nA modern Terraform provider for managing Active Directory resources via LDAP/LDAPS with native connectivity, automatic domain controller discovery, and comprehensive Kerberos authentication support.\n\n## Features\n\n- 🔐 **Multiple Authentication Methods**: Password, Kerberos (keytab/ccache/password)\n- 🌐 **Automatic DC Discovery**: DNS SRV record-based domain controller discovery\n- 🔄 **Connection Pooling**: Efficient connection management with health checks and failover\n- 🎯 **Flexible Resource Identification**: Support for DN, GUID, SID, UPN, and SAM account names\n- ⚡ **Performance Optimized**: Connection pooling, retry logic, and optional cache warming\n- 📦 **Terraform Plugin Framework**: Built with modern terraform-plugin-framework (v1.15.1)\n\n## Resources\n\n- `ad_group` - Security and distribution groups with scope management\n- `ad_ou` - Organizational Units with nesting and protection\n- `ad_group_membership` - Group membership with flexible member identification\n\n## Data Sources\n\n- `ad_group` / `ad_groups` - Query groups by DN, GUID, SID, or other attributes\n- `ad_ou` - Query organizational units\n- `ad_user` / `ad_users` - Query user information\n- `ad_whoami` - Current authentication identity\n\n## Provider Functions (Terraform 1.8+)\n\n- `provider::ad::build_hierarchy` - Build DN hierarchy from list\n- `provider::ad::normalize_roles` - Normalize role identifiers\n\n## Quick Start\n\n```hcl\nterraform {\n  required_providers {\n    ad = {\n      source  = \"isometry/ad\"\n      version = \"~\u003e 1.0\"\n    }\n  }\n}\n\nprovider \"ad\" {\n  domain   = \"example.com\"  # Automatic DC discovery via SRV records\n  username = \"terraform@example.com\"\n  password = var.ad_password\n}\n\nresource \"ad_group\" \"engineers\" {\n  name             = \"Engineers\"\n  sam_account_name = \"engineers\"\n  container        = \"ou=groups,dc=example,dc=com\"\n  scope            = \"global\"\n  category         = \"security\"\n}\n```\n\n## Documentation\n\nFull documentation is available in the [docs/](./docs/) directory and on the [Terraform Registry](https://registry.terraform.io/providers/isometry/ad/latest/docs).\n\n## Requirements\n\n- [Terraform](https://developer.hashicorp.com/terraform/downloads) \u003e= 1.0\n- [Go](https://golang.org/doc/install) \u003e= 1.25 (for development)\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 (see [Requirements](#requirements) above).\n\n### Building\n\n```shell\nmake install          # Build and install to $GOPATH/bin\nmake build            # Build without installing\n```\n\n### Testing\n\n```shell\nmake test             # Run unit tests\nmake testacc          # Run acceptance tests (requires TF_ACC=1)\n```\n\nFor acceptance tests, configure the provider with environment variables:\n\n```shell\nexport TF_ACC=1\nexport AD_DOMAIN=example.com\nexport AD_USERNAME=terraform\nexport AD_PASSWORD=secret\nmake testacc\n```\n\n### Code Quality\n\n```shell\nmake fmt              # Format code with gofmt\nmake lint             # Run golangci-lint\nmake generate         # Generate documentation\nmake                  # Run all checks: fmt, lint, install, generate\n```\n\n### Documentation\n\nTo generate or update documentation:\n\n```shell\nmake generate\n```\n\nDocumentation is automatically generated from schema descriptions and examples using [terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs).\n\n## Architecture\n\n- **Framework**: terraform-plugin-framework v1.15.1 (NOT SDK v2)\n- **LDAP Library**: github.com/go-ldap/ldap/v3 v3.4.11\n- **Kerberos Support**: github.com/jcmturner/gokrb5/v8 v8.4.4\n- **Protocol**: Terraform protocol version 6.0\n\nSee [CLAUDE.md](./CLAUDE.md) for comprehensive developer documentation and [DESIGN.md](./DESIGN.md) for architecture details.\n\n## License\n\nSee [LICENSE](./LICENSE) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisometry%2Fterraform-provider-ad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisometry%2Fterraform-provider-ad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisometry%2Fterraform-provider-ad/lists"}