Improve terraform secrets management

This commit is contained in:
Paul-Henri Froidmont 2023-02-07 23:25:29 +01:00
parent 4b0dee3a16
commit 4be62a69ed
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
7 changed files with 57 additions and 40 deletions

3
.envrc
View file

@ -1,2 +1,3 @@
use flake
export SOPS_PGP_FP="3AC6F170F01133CE393BCD94BE948AFD7E7873BE"
export TF_HTTP_PASSWORD=`sops -d --extract '["gitlab"]["password"]' secrets.enc.yml`