terraform-provider-ldap

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

README

Terraform Provider - LDAP (Lightweight Directory Access Protocol)

GolangCI

This is a Terraform Provider to work with LDAP.

This provider currently supports only computer objects, but more active directory resources are planned. Please feel free to contribute.

For general information about Terraform, visit the official website and the GitHub project page.

Requirements

  • Terraform 0.12+
  • Go 1.13 (to build the provider plugin)

Developing the Provider

TODO

Using the Provider

The provider is useful for adding and managing computer objects in Active Directory.

Example
# Configure the LDAP Provider
provider "ldap" {
  ldap_host     = "ldap.example.org"
  ldap_port     = 389
  use_tls       = true
  bind_user     = "cn=admin,dc=example,dc=org"
  bind_password = "admin"
}

# Add computer to Active Directory
resource "ldap_computer" "foo" {
  name           = "TestComputerTF"                       # update will force destroy and new
  ou             = "CN=Computers,DC=example,DC=org"       # can be updated
  description    = "terraform sample server"              # can be updated
}
Updating Dependencies
$ go get URL
$ go mod tidy
$ go mod vendor

Testing the Provider

TODO

Contributing

TODO

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL