简体   繁体   English

AWS CloudFormation 导出 yaml 文件

[英]AWS CloudFormation export yaml file

Basically I've created an AWS project using yaml file and after that, I've made many changes in the graphic interface.基本上,我使用 yaml 文件创建了一个 AWS 项目,之后,我对图形界面进行了许多更改。 Now I would like to duplicate this project, but my yaml file is outdated.现在我想复制这个项目,但是我的 yaml 文件已经过时了。 Is there a way for me to somehow export these changes into the yaml file or I have to manualy write all the changes into it?有没有办法让我以某种方式将这些更改导出到 yaml 文件中,或者我必须手动将所有更改写入其中?

There is drift detection in CloudFormation which you can use to detect differences between current stack and the resources. CloudFormation 中有漂移检测,您可以使用它来检测当前堆栈和资源之间的差异。

There is also an external tool called former2 , but this is to generate entire templates based on existing infrastructure, which can also be helpful in updating your own templates to match your resources.还有一个名为former2的外部工具,但这是基于现有基础架构生成整个模板,这也有助于更新您自己的模板以匹配您的资源。

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

相关问题 AWS/Cloudformation:如何将参数值导出/导入到另一个堆栈 (YAML) - AWS/Cloudformation: How to export/import parameter value to another stack (YAML) AWS CloudFormation YAML!Or函数 - AWS CloudFormation YAML !Or function 使用 a.SQL 文件作为 AWS CloudFormation YAML 文件中的字符串输入 - Using a .SQL file as a string input in AWS CloudFormation YAML file 将 AWS 配置导出为 CloudFormation 模板 - Export AWS configuration as CloudFormation template elasticsearch cloudformation yaml 文件不工作 - elasticsearch cloudformation yaml file not working AWS Cloudformation IoTAnalytics ServiceManagedS3 YAML - AWS Cloudformation IoTAnalytics ServiceManagedS3 YAML AWS CloudFormation YAML - 引用在同一堆栈中创建的实例私有 IP 以写入配置文件 - AWS CloudFormation YAML - reference an instance's private IP that was created in the same stack to be written to a config file Cloudformation:是否可以将当前的aws配置导出为模板? - Cloudformation : is it possible to export current aws configuration as template? 将现有 AWS CloudWatch 警报导出到 CloudFormation 模板 - Export existing AWS CloudWatch alarms to CloudFormation template AWS Cloudformation-如何手动添加/删除导出? - AWS Cloudformation - How to manually add/delete an export?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM