简体   繁体   English

AWS CloudFormation是否具有等效的Terraform destroy命令

[英]Does AWS CloudFormation have an equivalent Terraform destroy command

Having deployed an application using Amazons AWS SAM framework (CloudFormation under the hood) I would now like to destroy all the resources it has created. 使用Amazon的AWS SAM框架(内部为CloudFormation)部署了应用程序之后,我现在想销毁其创建的所有资源。

This is easy enough to do had I been using Terraform with the Terraform destroy command. 如果我将Terraform与Terraform destroy命令一起使用,这很容易做到。 Is there an equivalent command using AWS SAM or even CloudFormation? 是否有使用AWS SAM甚至CloudFormation的等效命令?

Thanks in adv. 感谢在广告中。 Michael McD. 迈克尔·麦克(Michael McD)。

您可以通过cli( https://docs.aws.amazon.com/cli/latest/reference/cloudformation/delete-stack.html )或通过控制台删除cloudformation堆栈(以及其中包含的所有资源)。 ( https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-delete-stack.html )。

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

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