Added ALL README files and converted the FreeIPA password to an environment variable.
This commit is contained in:
18
.gitignore
vendored
18
.gitignore
vendored
@@ -29,4 +29,20 @@ Temporary Items
|
|||||||
.vscode/
|
.vscode/
|
||||||
|
|
||||||
# macOS metadata
|
# macOS metadata
|
||||||
*.icloud
|
*.icloud
|
||||||
|
|
||||||
|
# Terraform
|
||||||
|
.terraform/
|
||||||
|
*.tfstate
|
||||||
|
*.tfstate.backup
|
||||||
|
|
||||||
|
# Crash log files
|
||||||
|
crash.log
|
||||||
|
|
||||||
|
# Ignore override files as they are usually used to override resources locally
|
||||||
|
*.override.tf
|
||||||
|
*.override.tf.json
|
||||||
|
|
||||||
|
# Ignore CLI configuration files
|
||||||
|
.terraformrc
|
||||||
|
.terraformrc.json
|
||||||
|
|||||||
0
01-storage/README.md
Normal file
0
01-storage/README.md
Normal file
0
03-unbound-dns/README.md
Normal file
0
03-unbound-dns/README.md
Normal file
0
04-free-ipa/README.md
Normal file
0
04-free-ipa/README.md
Normal file
0
05-templates/README.md
Normal file
0
05-templates/README.md
Normal file
0
06-matchbox/README.md
Normal file
0
06-matchbox/README.md
Normal file
15
10-sno-hub-cluster/00-dns/README.md
Normal file
15
10-sno-hub-cluster/00-dns/README.md
Normal file
@@ -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" {
|
provider "freeipa" {
|
||||||
host = "infra01.int.mk-labs.cloud"
|
host = "infra01.int.mk-labs.cloud"
|
||||||
username = "admin"
|
username = "admin"
|
||||||
password = "Gen1:1NASB"
|
password = var.freeipa_password
|
||||||
insecure = true
|
insecure = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "freeipa_password" {
|
||||||
|
description = "The password for the FreeIPA provider"
|
||||||
|
type = string
|
||||||
|
sensitive = true
|
||||||
|
}
|
||||||
|
|
||||||
terraform {
|
terraform {
|
||||||
required_providers {
|
required_providers {
|
||||||
freeipa = {
|
freeipa = {
|
||||||
|
|||||||
0
10-sno-hub-cluster/README.md
Normal file
0
10-sno-hub-cluster/README.md
Normal file
Reference in New Issue
Block a user