删除 AWS CloudFormation 堆栈
您可以使用 AWS Toolkit for Visual Studio Code 删除 AWS CloudFormation 堆栈。
先决条件
-
确保您的系统满足安装 Toolkit for VS Code 中指定的先决条件。
-
确保您在身份验证和访问中配置的凭证包含对 AWS CloudFormation 服务的适当读/写访问权限。如果在 AWS Explorer 中的 CloudFormation 下,您看到类似于“Error loading CloudFormation resources(加载 CloudFormation 资源时出错)”的消息,请检查附加到这些凭证的权限。对权限所做的更改需要几分钟时间才会反映在 VS Code 中的 AWS Explorer 内。
删除 CloudFormation 堆栈
-
在 AWS Explorer 中,打开要删除的 AWS CloudFormation 堆栈的上下文菜单。
-
选择 Delete CloudFormation Stack(删除 CloudFormation 堆栈)。
-
在出现的消息中,选择 Yes(是)以确认删除。
删除堆栈后,它不再在 AWS Explorer 中列出。