无法获取资源挂钩以调用 aws cdk 中的资源
当我进行 cdk 部署时,它给出了这个结果
CsSubscriptionClassifierStack: 创建 CloudFormation 变更集... 下午 12:31:10 |创建失败 | AWS::S3::存储桶 |订阅Classi...lassifiers4A6AE16E cs-subscription-classifiers 已存在
12:31:11 PM |创建失败 | AWS::CDK::元数据 | CDK元数据 无法获取资源挂钩以调用资源
❌ CsSubscriptionClassifierStack 失败:错误:名为 CsSubscriptionClassifierStack 的堆栈创建失败,可能需要从 AWS 控制台手动删除:ROLLBACK_COMPLETE 在 Object.waitForStackDeploy (/mnt/c/Users/Vishnu Kumar Gupta/AppData/Roaming/npm/node_modules/aws-cdk/lib/api/util/cloudformation.ts:307:11) 在 processTicksAndRejections (节点:内部/进程/task_queues:96:5) 在prepareAndExecuteChangeSet(/mnt/c/Users/Vishnu Kumar Gupta/AppData/Roaming/npm/node_modules/aws-cdk/lib/api/deploy-stack.ts:355:26) 在 CdkToolkit.deploy (/mnt/c/Users/Vishnu Kumar Gupta/AppData/Roaming/npm/node_modules/aws-cdk/lib/cdk-toolkit.ts:201:24) 在 initCommandLine (/mnt/c/Users/Vishnu Kumar Gupta/AppData/Roaming/npm/node_modules/aws-cdk/lib/cli.ts:314:21) 名为 CsSubscriptionClassifierStack 的堆栈创建失败,可能需要从 AWS 控制台手动删除它: ROLLBACK_COMPLETE
when i am doing cdk deploy it is giving this result
CsSubscriptionClassifierStack: creating CloudFormation changeset...
12:31:10 PM | CREATE_FAILED | AWS::S3::Bucket | SubscriptionClassi...lassifiers4A6AE16E
cs-subscription-classifiers already exists
12:31:11 PM | CREATE_FAILED | AWS::CDK::Metadata | CDKMetadata
Failed to fetch resource hooks to invoke for the resource
❌ CsSubscriptionClassifierStack failed: Error: The stack named CsSubscriptionClassifierStack failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE
at Object.waitForStackDeploy (/mnt/c/Users/Vishnu Kumar Gupta/AppData/Roaming/npm/node_modules/aws-cdk/lib/api/util/cloudformation.ts:307:11)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at prepareAndExecuteChangeSet (/mnt/c/Users/Vishnu Kumar Gupta/AppData/Roaming/npm/node_modules/aws-cdk/lib/api/deploy-stack.ts:355:26)
at CdkToolkit.deploy (/mnt/c/Users/Vishnu Kumar Gupta/AppData/Roaming/npm/node_modules/aws-cdk/lib/cdk-toolkit.ts:201:24)
at initCommandLine (/mnt/c/Users/Vishnu Kumar Gupta/AppData/Roaming/npm/node_modules/aws-cdk/lib/cli.ts:314:21)
The stack named CsSubscriptionClassifierStack failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论