Added ALL README files and converted the FreeIPA password to an environment variable.
This commit is contained in:
1 parent
201839c309
commit
1644d5b45e
9 files changed
+39
-2
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# DNS Provider Configuration
|
||||
|
||||
This directory contains the configuration for the DNS provider using FreeIPA.
|
||||
|
||||
## Environment Variables
|
||||
|
||||
To securely provide the password for the FreeIPA provider, set the following environment variable before running Terraform:
|
||||
|
||||
```bash
|
||||
export TF_VAR_freeipa_password="your_password_here"
|
||||
```
|
||||
|
||||
Replace `your_password_here` with the actual password.
|
||||
|
||||
Ensure that this environment variable is set in your shell session or in a secure environment management tool before executing Terraform commands.
|
||||
@@ -2,10 +2,16 @@
|
||||
provider "freeipa" {
|
||||
host = "infra01.int.mk-labs.cloud"
|
||||
username = "admin"
|
||||
password = "Gen1:1NASB"
|
||||
password = var.freeipa_password
|
||||
insecure = true
|
||||
}
|
||||
|
||||
variable "freeipa_password" {
|
||||
description = "The password for the FreeIPA provider"
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
freeipa = {
|
||||
|
||||
Whitespace-only changes.
Reference in new issue
Block a user