简体   繁体   中英

How to delete the retained resources from aws cloudformation manually?

I want to delete the retained resources manually after I delete the stack

I tried that

aws cloudformation delete-stack --stack-name eksctl-simple-jwt-api-cluster --retain-resources [VPC]

and get that result :

Expecting value: line 1 column 2 (char 1)

Is that enough or there is another way cuz I think the resources didn't delete any help

It's a command-line problem with --retain-resources [VPC] . Try changing it to:

aws cloudformation delete-stack --stack-name eksctl-simple-jwt-api-cluster --retain-resources "VPC"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM