简体   繁体   English

如何手动从aws cloudformation中删除保留的资源?

[英]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] .这是--retain-resources [VPC]的命令行问题。 Try changing it to:尝试将其更改为:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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