[英]AWS Amplify: Resource is not in the state stackUpdateComplete
[英]"amplify push function" error: Resource is not in the state stackUpdateComplete
这是我所做的:
amplify add function
(...然后通过向导创建无服务器功能...);amplify push
;而且,砰! 这是我得到的
× An error occurred when push the resources to the cloud 推送操作时出错:/Resource is not in the state stackUpdateComplete
在 s3 存储桶中,我可以看到函数 zip 文件是在 /amplify-builds 下创建的。
哦,在你问之前,我在根级别没有找到 deployment-state.json 文件。
CloudFormation 告诉我资源更新失败,因为:
嵌入式堆栈 arn:aws:cloudformation:::stack/amplify----api-/ 未成功更新。 当前处于 UPDATE_ROLLBACK_IN_PROGRESS,原因是:以下资源无法更新:[GraphQLAPITransformerSchema3CB2AE18]。
我试过amplify remove function
,然后amplify add function
,但没有取得显着效果。
错误日志文件也无济于事:
{
"message": "Resource is not in the state stackUpdateComplete",
"code": "ResourceNotReady",
"retryable": false,
"time": "2022-07-15T16:49:21.011Z",
"statusCode": 200,
"retryDelay": 30000
}
我应该从这里去哪里?
您应该直接进入 CloudFormation UI,找到此资源并选择右上角的“Stack Actions”。 您将看到按钮“继续”或“取消”更新堆栈。 在此操作之后,“放大推送”应该起作用
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.