mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-21 23:54:22 +01:00
Add pushApproles
to altra
Signed-off-by: magic_rb <richard@brezak.sk>
This commit is contained in:
parent
e49ef5e713
commit
df46401662
|
@ -23,7 +23,7 @@ in
|
||||||
name = "altra_ipv6";
|
name = "altra_ipv6";
|
||||||
datacenter = "fsn1-dc14";
|
datacenter = "fsn1-dc14";
|
||||||
type = "ipv6";
|
type = "ipv6";
|
||||||
assignee_type = "server";
|
assignee_type = "server";
|
||||||
auto_delete = false;
|
auto_delete = false;
|
||||||
delete_protection = true;
|
delete_protection = true;
|
||||||
};
|
};
|
||||||
|
@ -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