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] [source,bash]
---- ----
vim .envrc config.auto.tfvars # Get the contents from password-manager
dotenv allow
terraform init terraform init
terraform apply terraform apply
sleep 300 # Wait 5 minutes since the machines start _slow_ sometimes 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. I use Terraform to provide the required infrastructure to run a Kubernetes-cluster.
[WARNING] [WARNING]
Make sure `config.auto.tfvars` with all the needed configuration-secrets is present otherwise the module cannot be applied! Make sure `.envrc` and `config.auto.tfvars` are present.
The file is safely stored in the password-manager. Then run `dotenv allow` in the directory to apply the `.envrc`. +
The files are safely stored in the password-manager.
[source,bash] [source,bash]
---- ----