Skip to content

Commit aad3397

Browse files
authored
chore: Engine per unit shutdown (#6426)
* chore: Doing engine init and shutdown per unit * feat: Using per unit engine shutdown * chore: A little clean-up * chore: Adding shutdown timeout * chore: Adding timeout test
1 parent a2a294d commit aad3397

19 files changed

Lines changed: 616 additions & 149 deletions

internal/configbridge/bridge.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ func NewRunOptions(opts *options.TerragruntOptions) *run.Options {
148148
runOpts.LogDisableErrorSummary = opts.LogDisableErrorSummary
149149
runOpts.TerragruntConfigPath = opts.TerragruntConfigPath
150150
runOpts.OriginalTerragruntConfigPath = opts.OriginalTerragruntConfigPath
151-
runOpts.WorkingDir = opts.WorkingDir
151+
runOpts.UnitDir = opts.WorkingDir
152+
runOpts.CacheDir = opts.WorkingDir
152153
runOpts.RootWorkingDir = opts.RootWorkingDir
153154
runOpts.DownloadDir = opts.DownloadDir
154155
runOpts.TerraformCommand = opts.TerraformCommand

0 commit comments

Comments
 (0)