Cannot delete Computer Enviroments on Batch

0

Hello,

I'm currently conducting tests to create infrastructure using Terraform. During these tests, I've encountered an issue where certain compute environments are marked as invalid and cannot be deleted. These environments seem to be remnants from previously destroyed environments.

While these invalid environments do not affect any of my active environments, their presence is causing some clutter in the Compute Environment section, and I would like to remove them.

Could anyone provide guidance on how to permanently delete these invalid compute environments?

Thank you in advance for your assistance.

Best regards,

Galeno

Galeno
asked a month ago99 views
1 Answer
3

Hello.

The Service Role for AWS Batch management may have been deleted first, making it impossible to delete the computing environment.
Therefore, please try creating the service role again as described in the document below.
https://repost.aws/knowledge-center/batch-invalid-compute-environment

profile picture
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago
profile pictureAWS
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions