fixup! vault: implement bootstrap integration
This commit is contained in:
@@ -15,7 +15,7 @@ resource "proxmox_cloud_init_disk" "ci" {
|
||||
#cloud-config
|
||||
ssh_authorized_keys:
|
||||
- ${each.value.ssh_public_key}
|
||||
${each.value.flake_branch != null || each.value.vault_wrapped_token != null ? <<-FILES
|
||||
${each.value.flake_branch != null || each.value.vault_wrapped_token != null ? <<-FILES
|
||||
write_files:
|
||||
- path: /run/cloud-init-env
|
||||
content: |
|
||||
@@ -28,7 +28,7 @@ resource "proxmox_cloud_init_disk" "ci" {
|
||||
VAULT_SKIP_VERIFY=1
|
||||
%{~ endif ~}
|
||||
permissions: '0600'
|
||||
FILES
|
||||
FILES
|
||||
: ""}
|
||||
EOT
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@ locals {
|
||||
memory = 2048
|
||||
disk_size = "20G"
|
||||
flake_branch = "vault-bootstrap-integration"
|
||||
vault_wrapped_token = "s.aLlvvgIX4RegyBZKwnDIplJ4"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user