No description
  • Go 97.8%
  • Makefile 1.3%
  • Shell 0.9%
Find a file
2024-08-28 14:45:06 +02:00
docs docs: regenerate provider documentation 2024-07-26 17:11:38 +02:00
freeipa test: fix acceptance tests for legacy freeipa provider 2024-08-28 14:45:06 +02:00
internal feat(resources): add certificate, service and group 2024-07-26 17:11:38 +02:00
scripts chore: update Go 2023-06-23 10:42:52 +02:00
tools feat: add tfplugindocs in tools.go 2024-05-29 13:17:32 +02:00
.gitignore chore: add binary in gitignore 2023-06-23 10:44:25 +02:00
.go-version chore: update go to 1.22 and dependencies using patch strategy 2024-07-26 17:11:38 +02:00
.goreleaser.yml build: add registry manifest 2023-06-27 10:19:45 +02:00
.travis.yml chore: update Go 2023-06-23 10:42:52 +02:00
CHANGELOG.md Release 0.9.0 2024-05-22 15:20:13 +02:00
docker-compose.yaml chore: add docker composition to run dev env 2024-08-28 14:31:02 +02:00
go.mod chore: update camptocamp/go-freeipa to v1.2.0+c2c.2 2024-08-28 14:44:26 +02:00
go.sum chore: update camptocamp/go-freeipa to v1.2.0+c2c.2 2024-08-28 14:44:26 +02:00
LICENSE docs: update license to use AGPLv3 2024-07-26 17:11:38 +02:00
main.go docs: regenerate provider documentation 2024-07-26 17:11:38 +02:00
Makefile chore: add docker composition to run dev env 2024-08-28 14:31:02 +02:00
README.md docs: add generated documentation 2024-05-29 14:07:49 +02:00
secrets.yml Add secrets.yml 2020-07-24 16:07:15 +02:00
terraform-registry-manifest.json build: add registry manifest 2023-06-27 10:19:45 +02:00

FreeIPA Terraform Provider

Terraform Registry Version Go Report Card Build Status By Camptocamp

This provider adds integration between Terraform and FreeIPA.

Requirements

Building The Provider

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

Installing the provider

After building the provider, install it using the Terraform instructions for installing a third party provider.

Example

provider freeipa {
  host = "ipa.example.test"   # or set $FREEIPA_HOST
  username = "admin"          # or set $FREEIPA_USERNAME
  password = "P@S5sw0rd"      # or set $FREEIPA_PASSWORD
}

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"
}

resource freeipa_dns_record "foo" {
  dnszoneidnsname = "your.zone.name."
  idnsname = "foo"
  records = ["192.168.10.10"]
  type = "A"
}

Usage

Import

DNS records can be imported using the record name and the zone name from <record_name>/<zone_name>/<type>

$ terraform import freeipa_dns_record.foo foo/example.tld./A