Skip to content

記載の削除手順を実行するとエラーが発生して環境を削除できない #1123

@kazutanimary

Description

@kazutanimary

Bug Description
記載の削除手順ではエラーが発生する。
https://github.com/aws-samples/generative-ai-use-cases/blob/main/docs/en/DESTROY.md

`
generative-ai-use-cases $ npm run cdk:destroy

[email protected] cdk:destroy
npm -w packages/cdk run cdk destroy --

cdk
cdk destroy

Since this app includes more than a single stack, specify which stacks to use (wildcards are supported) or specify --all
Stacks: VideoTmpBucketStackus-east-1 · GenerativeAiUseCasesStack
npm error Lifecycle script cdk failed with error:
npm error code 1
npm error path /tmp/generative-ai-use-cases/packages/cdk
npm error workspace cdk
npm error location /tmp/generative-ai-use-cases/packages/cdk
npm error command failed
npm error command sh -c cdk destroy
`

Steps to Reproduce
手順にそって削除を実行

Expected Behavior
削除可能

Screenshots
N/A

対応案
https://github.com/aws-samples/generative-ai-use-cases/blob/main/package.json

"cdk:destroy": "npm -w packages/cdk run cdk destroy --" を "cdk:destroy": "npm -w packages/cdk run cdk destroy -- --all" に変更

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions