We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6867852 commit e949b1dCopy full SHA for e949b1d
1 file changed
cmd/ps.go
@@ -182,7 +182,13 @@ var psResizeCmd = &cobra.Command{
182
}
183
_, err = a.DeployStatus.FindProcess(processType)
184
if err != nil {
185
- printWarning(fmt.Sprintf("Service %q does not exist. Settings will be used if the service is created later.\n", processType))
+ switch processType {
186
+ case "release", "scheduler":
187
+ // These are task-based process types, not ECS services.
188
+ // They won't appear in the service list but can still be resized.
189
+ default:
190
+ printWarning(fmt.Sprintf("Service %q does not exist. Settings will be used if the service is created later.\n", processType))
191
+ }
192
193
size, err := humanToECSSizeConfiguration(scaleCPU, scaleMemory)
194
checkErr(err)
0 commit comments