modif terraform

This commit is contained in:
corenthin-lebreton 2025-12-02 20:33:16 +01:00
parent e5268b1c43
commit 1202357a32

View File

@ -144,7 +144,7 @@ export const destroyFormation = async (formationId: string) => {
const initCmd = `cd ${shell.escapeShell(remoteDir)} && terraform init -input=false`;
await shell.executeSsh(initCmd);
const destroyCmd = `cd ${shell.escapeShell(remoteDir)} && terraform destroy -auto-approve -input=false -lock-timeout=60s`;
const destroyCmd = `cd ${shell.escapeShell(remoteDir)} && terraform destroy -auto-approve -input=false -lock=false`;
const destroyRes = await shell.executeSsh(destroyCmd);
if (destroyRes.code !== 0) {