Add mandatory .envrc setup-instruction to readme

This commit is contained in:
2025-10-17 14:10:54 +02:00
parent 0cd390e9e5
commit 38bfc493b5

View File

@@ -13,6 +13,8 @@ To achieve the goal of having a working base infrastructure for the web the setu
[source,bash]
----
vim .envrc config.auto.tfvars # Get the contents from password-manager
dotenv allow
terraform init
terraform apply
sleep 300 # Wait 5 minutes since the machines start _slow_ sometimes
@@ -33,8 +35,9 @@ The project is split into different steps, each responsible for another task.
I use Terraform to provide the required infrastructure to run a Kubernetes-cluster.
[WARNING]
Make sure `config.auto.tfvars` with all the needed configuration-secrets is present otherwise the module cannot be applied!
The file is safely stored in the password-manager.
Make sure `.envrc` and `config.auto.tfvars` are present.
Then run `dotenv allow` in the directory to apply the `.envrc`. +
The files are safely stored in the password-manager.
[source,bash]
----