This provider adds integration between Terraform and FreeIPA.
Download the provider source code
$ go get github.com/camptocamp/terraform-provider-freeipa
Enter the provider directory and build the provider
$ cd $GOPATH/src/github.com/camptocamp/terraform-provider-freeipa
$ make build
After building the provider, install it using the Terraform instructions for installing a third party provider.
provider freeipa {
host = "ipa.example.test" # or set $FREEIPA_HOST
username = "admin" # or set $FREEIPA_USERNAME
password = "P@S5sw0rd" # or set $FREEIPA_PASSWORD
insecure = true
}
resource freeipa_host "foo" {
fqdn = "foo.example.test"
description = "This is my foo host"
force = true
random = true
}
resource freeipa_host "bar" {
fqdn = "bar.example.test"
userpassword = "abcde"
}