ValidationError Stack:arn AWS cloudformation堆栈处于ROLLBACK_COMPLETE状态,无法更新 [英] ValidationError Stack:arn aws cloudformation stack is in ROLLBACK_COMPLETE state and can not be updated

查看:243
本文介绍了ValidationError Stack:arn AWS cloudformation堆栈处于ROLLBACK_COMPLETE状态,无法更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用cloudformation aws cloudformation deploy --region $region --stack-name ABC

When I deploy using cloudformation aws cloudformation deploy --region $region --stack-name ABC

错误:

调用CreateChangeSet时发生错误(ValidationError) 手术: 堆栈:arn:aws:cloudformation:stack/service/7e1d8c70-d60f-11e9-9728-0a4501e4ce4c 处于ROLLBACK_COMPLETE状态,无法更新.

An error occurred (ValidationError) when calling the CreateChangeSet operation: Stack:arn:aws:cloudformation:stack/service/7e1d8c70-d60f-11e9-9728-0a4501e4ce4c is in ROLLBACK_COMPLETE state and can not be updated.

请帮助我!

推荐答案

这在堆栈创建失败时发生.堆栈将以状态ROLLBACK_COMPLETE保留在原处(除非您已指定不应在发生故障时回滚,在这种情况下状态将为CREATE_FAILED).您不能更新此堆栈;您将必须手动将其删除并重新部署.

This happens when stack creation fails. The stack will remain in place with a status of ROLLBACK_COMPLETE (unless you've specified that it shouldn't be rolled back on failure, in which case the status will be CREATE_FAILED). You cannot update this stack; you will have to manually delete it and deploy it again.

如果相反,您是将更新部署到现有(成功创建的)堆栈上,并且更新失败但已成功回滚,它将返回到其先前的有效状态,从而使您可以重新尝试更新.

If instead you were deploying updates to an existing (successfully created) stack, and the updates failed but were successfully rolled back, it will go back into its previous valid state, allowing you to reattempt updates.

这篇关于ValidationError Stack:arn AWS cloudformation堆栈处于ROLLBACK_COMPLETE状态,无法更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆