-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Template imports return the modules found in both start and stop transitions.
coder/provisionerd/proto/provisionerd.proto
Lines 92 to 93 in 04bc86a
| repeated provisioner.Module start_modules = 6; | |
| repeated provisioner.Module stop_modules = 7; |
start & stop modules will never be different as count is ignored when downloading modules.
StopModules & StartModules should be moved to just modules.
Once #21064 is merged, the module source will be the same for both.
coder/provisionerd/runner/runner.go
Lines 609 to 612 in 04bc86a
| // TODO: These are defined as different, but can they be? | |
| // Terraform downloads modules regardless of `count`, so this should be the same | |
| StartModules: initResp.Modules, | |
| StopModules: initResp.Modules, |