简体   繁体   English

我们可以在 Serverless 中做类似 Terraform Plan 的事情吗?

[英]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.

相关问题 我们如何查看由 Google Cloud BigQuery 执行的查询计划? - How do we see a query plan executed by Google Cloud BigQuery? Terraform 错误:提供商产生不一致的最终计划 - 值“应用后已知”导致计划上的列表为空 - Terraform Error: Provider produced inconsistent final plan - value "known after apply" causes empty list on plan 我们如何在 terraform 中声明 gcp cloud armor 高级模式规则选项块? - How can we declare a gcp cloud armor advance mode rule options block in terraform? 您可以将 Google Cloud 模拟器与 Terraform 一起使用吗? - Can you use the Google Cloud emulator with Terraform? BigQuery 中有类似 Spark 的 unionByName 的东西吗? - Is there something like Spark's unionByName in BigQuery? AWS 无服务器应用程序模型 (SAM) — 如何更改 StageName? - AWS Serverless Application Model (SAM) -- How do I change StageName? 无服务器:无法使用部署命令在 AWS 上加载 lambda 函数 - Serverless: can't load lambda function on the AWS using deploy comand 我们有任何 Dialogflow 的测试框架吗? - Do we have any testing framework for Dialogflow? 我可以在 Terraform 中启用/禁用 aws_codepipeline 的某些阶段吗 - Can I enable/disable some stages of aws_codepipeline in Terraform 如何在 AWS Lambda 中执行 Shellscript。 我想将我的脚本作为无服务器代码 - How to execute Shellscript in AWS Lambda . I would like to my script as serverless code
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM