Desensitivize pushApproles provisioner

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

View file

@ -90,7 +90,7 @@ in
provisioner = { provisioner = {
"remote-exec" = { "remote-exec" = {
inline = [ inline = [
"echo \${vault_approle_auth_backend_role_secret_id.system-${hostname}.secret_id} > /var/secrets/approle.secretid" "echo \${nonsensitive(vault_approle_auth_backend_role_secret_id.system-${hostname}.secret_id)} > /var/secrets/approle.secretid"
"echo \${data.vault_approle_auth_backend_role_id.system-${hostname}.role_id} > /var/secrets/approle.roleid" "echo \${data.vault_approle_auth_backend_role_id.system-${hostname}.role_id} > /var/secrets/approle.roleid"
]; ];
}; };