Commit 635936a
Fix preview env GC not deleting terraform workspaces (#21261)
When terraform plan -destroy returns exit code 0 (no changes because
resources were already deleted), the script exited before deleting the
terraform workspace. This caused the same preview environments to appear
in subsequent GC runs.
Co-authored-by: Ona <no-reply@ona.com>1 parent 62e5e2c commit 635936a
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
0 commit comments