How do I resolve the "unresolved issues with your inputs" error in AWS Batch when I try to delete my compute environment?

Last updated: 2020-04-06

When I try to delete my AWS Batch compute environment, I receive the following error message: "There are unresolved issues with your inputs. Please review the form and try again." How can I resolve this error and delete my compute environment?

Short Description

You can receive this error in the following scenarios:

To resolve this error, complete the steps in the following Resolution section.

Resolution

1.    Confirm that you have installed and configured the AWS Command Line Interface (AWS CLI).

2.    Update the compute environment with the new service role:

aws --region your-aws-region batch update-compute-environment --compute-environment your-compute-environment-arn --service-role your-service-role-arn

3.    Disable the compute environment:

aws --region your-aws-region batch update-compute-environment --compute-environment  your-compute-environment-arn --state DISABLED

4.    Delete the compute environment:

aws --region your-aws-region batch delete-compute-environment --compute-environment your-compute-environment-arn

Did this article help you?

Anything we could improve?


Need more help?