[英]can we do something like Terraform Plan in Serverless?
when I change something in my lambda repo and redeploy the lambda with serverless framework it make changes.当我更改我的 lambda 存储库中的某些内容并使用无服务器框架重新部署 lambda 时,它会进行更改。 I want to know the changes that going to happen prior to deploying the lambda.
我想知道在部署 lambda 之前会发生的变化。
I tried serverless changeset plugin, but it doesn't show a comparison between my current lambda configuration and the changes going to happen by deploying the lambda after making some changes in my lambda repo [eg the lambda name, tags etc.]我尝试了无服务器变更集插件,但它没有显示我当前的 lambda 配置与在我的 lambda 存储库中进行一些更改后部署 lambda 将发生的更改之间的比较 [例如 lambda 名称、标签等]
You can enable changesets with deploymentMethod: changesets
so that serverless deploy
doesn't actually execute the changes, but instead creates a changeset inside CloudFormation which you can inspect inside the console and then initiate from there.您可以使用
deploymentMethod: changesets
启用变更集,这样serverless deploy
实际上不会执行更改,而是在 CloudFormation 中创建一个变更集,您可以在控制台中检查它,然后从那里启动。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.