gpt4 book ai didi

amazon-web-services - 防止 AWS cloudformation 中的回滚

转载 作者:行者123 更新时间:2023-12-04 21:29:41 25 4
gpt4 key购买 nike

目前,我的 CFN 处于 update_rollback_failed 状态,显然它是一个死胡同。要继续,我必须继续回滚,这不是一个选择。

我们将 CFN 推迟了 3 个月,由于某些问题,我们直接从控制台进行了一些更改(巨大的错误),现在我们试图同步我们在 CFN 本身中所做的更改。由于某些问题,部署失败并开始回滚。幸运的是,由于运动方面的一些检查,回滚失败了。

AWS 上可用的 CFN 包含旧配置,这是灾难性的,肯定会导致严重的停机时间。

我尝试继续回滚,忽略资源,但它允许仅忽略回滚更新失败的那些资源。我该如何摆脱这种情况?

最佳答案

不幸的是,这是 CloudFormation 的一个已知限制,并且没有解决方法。有一个AWS blog post that mentions update_rollback_failed这证实了我们对此无能为力,它说:

When a stack reaches UPDATE_ROLLBACK_FAILED, this means that the CloudFormation stack was attempting an UPDATE operation, the operation failed, and we began a rollback. An issue occurred that stopped CloudFormation from returning to the previous “good” state during the rollback. As a result, the stack can’t update and can’t roll back, thus it assumes this half-way state. The API then stops any further actions on the stack other than ContinueUpdateRollback and DeleteStack.

关于amazon-web-services - 防止 AWS cloudformation 中的回滚,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56529215/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com