modif terraform
This commit is contained in:
parent
e5268b1c43
commit
1202357a32
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user