Deleting Image Builder image with version failed saying it has a running workflow

0

I have created an image builder pipeline via cloud formation stack and when the pipeline is still running I terminated the EC2 instance then deleted the stack after I realized there is some configuration errors in my settings and I want to do it again. However all the resources get deleted except the "image version" resource and it is showing "building" status. Till 1 day later the status is still "building" and when I used the AWS Cli try to delete it I get the below error:

An error occurred (ResourceDependencyException) when calling the DeleteImage operation: Resource dependency error: The resource ARN 'arn:aws:imagebuilder:ap-southeast-1:XXXXX:image/amazon-linux-2-with-latest-ssm-agent/0.0.1/1' has a running workflow.

I have stopped the pipeline and there is no "running workflow". How to proceed to delete that image with versioning in such a case? Thank you.

demandé il y a 2 ans923 vues
1 réponse
0
Réponse acceptée

Hello,

As I understand, your pipeline is not getting deleted as image version is in building status with the following error when you try to delete it:

An error occurred (ResourceDependencyException) when calling the DeleteImage operation: Resource dependency error: The resource ARN 'arn:aws:imagebuilder:ap-southeast-1:XXXXX:image/amazon-linux-2-with-latest-ssm-agent/0.0.1/1' has a running workflow.

In order to troubleshoot this issue, we will need to escalate it with our internal service team. Since the error you pasted does not have your AWS Account ID, which is required in order to proceed, I suggest creating a case with us at Premium Support [1]. For immediate assistance, please feel free to open a call/chat with us and reference this re:Post thread, for an AWS Engineer to assist you.

[1] Creating support cases and case management - https://docs.aws.amazon.com/awssupport/latest/user/case-management.html

AWS
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a 2 ans
  • Hi today I am able to delete that "image build version" without any errors. I guess it there is a timeout for the image version to expire and turn from "building" to "failure" so I finally can delete the image.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions