Last active
April 22, 2020 09:25
-
-
Save raphink/1b56c8622fb17b4679df438dc4d363ab to your computer and use it in GitHub Desktop.
Terraform FreeIPA Blog Post
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource freeipa_host "foo" { | |
fqdn = "foo.example.test" | |
description = "This is my foo host" | |
force = true | |
random = true | |
userpassword = "abcde" | |
} | |
resource freeipa_dns_record "bar" { | |
idnsname = "bar" | |
dnszoneidnsname = "myzone" | |
dnsttl = 20 | |
records = ["1.2.3.4"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment