mirror of https://github.com/ansible/ansible.git
Stop sorting of termination_policies in `ec2_asg` (#4883)
The AWS API requires that any termination policy list that includes `Default` must end with Default. The attribute sorting caused any list of attributes to be lexically sorted, so a list like `["OldestLaunchConfiguration", "Default"]` would be changed to `["Default", "OldestLaunchConfiguration"]` because default is earlier alphabetically. This caused calls to fail with BotoServerError per #4069 This commit also adds proper tracebacks to all botoservererror fail_json calls. Closes #4069reviewable/pr18780/r1
parent
725cc699e7
commit
2e1e3562b9
Loading…
Reference in New Issue