How do I resolve the "unresolved issues with your inputs" error in AWS Batch when I try to delete my compute environment?
2 minute read
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?
AWS Batch returns an unresolved issues with your inputs error in the following situations:
An incorrect AWS Identity and Access Management (IAM) service role causes your compute environment to enter the INVALID state.
A resource from a parameter that could only be edited when your compute environment was created no longer exists in your AWS account. For example: A security group.
To resolve the error, you must first make sure that your compute environment is in the VALID state. Then, update the compute environment with a new service role that includes the required permissions before deleting the compute environment.
If your compute environment is in the INVALID state
1. Update the compute environment with a new service role that includes the required permissions by running the following update-compute-environment command:
Important: Replace your-aws-region with your compute environment's AWS Region. Replace your-compute-environment-arn with your compute environment's Amazon Resource Name (ARN). Replace your-service-role-arn with your AWS Batch service IAM role's ARN.