Add pushApproles to altra

Signed-off-by: magic_rb <richard@brezak.sk>
This commit is contained in:
magic_rb 2023-10-07 22:30:21 +02:00
parent e49ef5e713
commit df46401662
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -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";
}; };
} }