Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services 如何手动从aws cloudformation中删除保留的资源?_Amazon Web Services_Web_Amazon Ec2_Web Deployment - Fatal编程技术网

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

Amazon web services 如何手动从aws cloudformation中删除保留的资源?,amazon-web-services,web,amazon-ec2,web-deployment,Amazon Web Services,Web,Amazon Ec2,Web Deployment,我想在删除堆栈后手动删除保留的资源 我试过了 aws cloudformation delete-stack --stack-name eksctl-simple-jwt-api-cluster --retain-resources [VPC] 得到这个结果: Expecting value: line 1 column 2 (char 1) 这够了吗,还是有别的办法 因为我认为资源没有删除 任何帮助这是的命令行问题--保留资源[VPC]。尝试将其更改为: aws cloudformatio

我想在删除堆栈后手动删除保留的资源

我试过了

aws cloudformation delete-stack --stack-name eksctl-simple-jwt-api-cluster --retain-resources [VPC]
得到这个结果:

Expecting value: line 1 column 2 (char 1)
这够了吗,还是有别的办法 因为我认为资源没有删除
任何帮助

这是
的命令行问题--保留资源[VPC]
。尝试将其更改为:

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

这是
--保留资源[VPC]
的命令行问题。尝试将其更改为:

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

感谢回复Anton但不工作我从AWS档案中手动删除了回复Anton但不工作我从AWS档案中手动删除了回复Anton