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.

질문됨 2년 전923회 조회
1개 답변
0
수락된 답변

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
지원 엔지니어
답변함 2년 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠