Terraform and env variables

If you work with Terraform you might know the struggle setting the right environment variables. Especially if you work with different Terraform configurations on a daily basis. I found 2 tools (or a tool and a script) to make this much easier. The first is direnv which automagically sources env variables stored in a .envrc file if you change in a managed directory. $ mkdir direnv-test $ echo "export mykey=wasd" >> ....

January 8, 2021 · 2 min · 282 words · André Sterba

SSH Agents

With every installation of a new system I struggle setting up an ssh-agent. Although it only requires 4 simple steps I somehow manage to always miss at least one of them. I use a systemd user unit to start the ssh-agent as I don’t want to manage services with shell scripts or in my sway config, if avoidable. This is more or less exactly what can be found in the Arch wiki....

January 3, 2021 · 1 min · 195 words · André Sterba