mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
GetManagedScalingPolicy returned the policy of a cluster that was shutting down or had ended. AWS answers ValidationException "A job flow that is shutting down, terminated, or finished may not be modified." there, as Terraform's acceptance runs recorded, and Terraform's provider reads that answer as the policy being gone. Floci kept returning it, so a refresh after termination kept a policy AWS reports gone. A TERMINATING, TERMINATED or TERMINATED_WITH_ERRORS cluster now gets that answer. emr.md no longer says no answer is recorded for the managed scaling calls: Terraform's provider also expects it from RemoveManagedScalingPolicy.