Skip to content

Commit 447c99b

Browse files
authored
Defensively run terraform apply again on workspace start to mitigate IDX auth timeout (#4)
1 parent 288111d commit 447c99b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.idx/dev.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@
6161
npm = "pnpm install";
6262
};
6363
# Runs when the workspace is (re)started
64-
onStart = {};
64+
onStart = {
65+
terraform = ''
66+
terraform apply -parallelism=20 --auto-approve -compact-warnings
67+
'';
68+
};
6569
};
6670
};
6771
}

0 commit comments

Comments
 (0)