Skip to content

Add check when terminating instances by filters.

Marcos Huck requested to merge fix/error_id_malformed into feature/code_refactor

Related tasks

Context

When terminating an empty slice of instances, an error is returned by EC2 because the ID provided is Malformed.

Change

This MR changes the termination mechanism to return a nil if there are no instances to be terminated.

Other information

Additional documentation

Edited by Marcos Huck

Merge request reports