Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您如何使用 Pulumi 销毁资源,例如 CloudFront 分配(需要先禁用才能销毁),这些资源需要执行其他操作才能删除。我似乎找不到将自定义销毁逻辑添加到 Pulumi 堆栈的方法。有没有人有这样做的经验?
据我所知,您无法更改 pulumi 破坏逻辑。它甚至不在您编写的代码中(它与堆栈中的资源相关,当您运行 pulumi destroy 时,您的代码不会被调用)所以......