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