mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +01:00
Add pushApproles
to altra
Signed-off-by: magic_rb <richard@brezak.sk>
This commit is contained in:
parent
e49ef5e713
commit
df46401662
|
@ -48,6 +48,22 @@ in
|
||||||
delete_protection = true;
|
delete_protection = true;
|
||||||
rebuild_protection = true;
|
rebuild_protection = true;
|
||||||
|
|
||||||
ssh_keys = singleton (tf "hcloud_ssh_key.magic_rb.id");
|
# ssh_keys = singleton (tf "hcloud_ssh_key.magic_rb.id");
|
||||||
|
};
|
||||||
|
|
||||||
|
prefab.pushApproles."altra" = {
|
||||||
|
host = "10.64.0.11";
|
||||||
|
user = "main";
|
||||||
|
|
||||||
|
policies = [
|
||||||
|
# (tf "vault_policy.toothpick_consul.name")
|
||||||
|
# (tf "vault_policy.toothpick_nomad.name")
|
||||||
|
];
|
||||||
|
|
||||||
|
metadata = {
|
||||||
|
"ip_address" = "altra.redalder.org";
|
||||||
|
};
|
||||||
|
|
||||||
|
approlePath = tf "vault_auth_backend.approle.path";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue