When resuming a failed pipeline execution, changing compute environment triggers the workDir field to reset to the default value (S3 bucket root in my tests). This makes it impossible to resume the pipeline, throwing the error
"Field
workDir
is not writable: unset or use previous value"
Since the field cannot be manually updated, there seems to be no way to change compute environment on resume.