Pass secrets into terraform

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-06-18 20:12:05 +02:00
parent 64db0229c0
commit 3e0350ffb6
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
2 changed files with 9 additions and 9 deletions

View file

@ -732,13 +732,13 @@
"secret": {
"flake": false,
"locked": {
"lastModified": 1636145225,
"narHash": "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=",
"path": "/var/empty",
"lastModified": 1686920512,
"narHash": "sha256-FUZSDRLVdz6margPVrtoKUg63BdxfRNENeUUOxTiIS4=",
"path": "/home/main/dotfiles2/secret",
"type": "path"
},
"original": {
"path": "/var/empty",
"path": "/home/main/dotfiles2/secret",
"type": "path"
}
},

View file

@ -26,7 +26,7 @@
vtermModule.url = "github:akermu/emacs-libvterm";
vtermModule.flake = false;
secret.url = "path:///var/empty";
secret.url = "path:///home/main/dotfiles2/secret";
secret.flake = false;
ical2org.url = "git+https://git.sr.ht/~magic_rb/ical2orgpy";
@ -108,11 +108,11 @@
uterranix.config = [
./terranix/default.nix
{
_module.args.secret = secret;
_module.args.secret = lib'.loadSecrets secret;
_module.args.vars = {
flake_rev = self.rev or null;
flake_sha = self.sha or null;
flake_ref = self.ref or null;
flake_rev = self.rev;
flake_sha = self.narHash;
flake_ref = "master";
flake_host = "git+https://git.sr.ht/~magic_rb/cluster";
};
}