func isGoneError(err awserr.Error) bool { return err.Code() == ErrorTypeUnknownResourceFault && (strings.Contains(err.Message(), TaskGone) || strings.Contains(err.Message(), ExecutionGone)) }
func IsInstanceTypeChangedError(err awserr.Error) bool { return strings.Contains(err.Message(), INSTANCE_TYPE_CHANGED_ERROR_MESSAGE) }