简体   繁体   English

Cloudformation:是否可以将当前的aws配置导出为模板?

[英]Cloudformation : is it possible to export current aws configuration as template?

我刚刚创建了Dynamodb表,Lambda函数,S3桶等。我想知道是否有办法将此配置导出为cloudformation模板

Yes you could use cloudformer to export your aws resources into cloudformation template. 是的,您可以使用cloudformer将您的aws资源导出到cloudformation模板中。 Please refer this for example and sample steps . 请参考此示例和示例步骤。 http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-using-cloudformer.html http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-using-cloudformer.html

CloudFormer is designed to accomplish this, but it does not support Lambda functions, API Gateway and other services. CloudFormer旨在实现此目的,但它不支持Lambda函数,API网关和其他服务。 Also, it is clunky, requires spinning up an EC2 instance and is not designed to create reusable templates - you'll have to adapt them significantly. 此外,它很笨重,需要启动EC2实例,而不是设计用于创建可重用模板 - 您必须对它们进行大量调整。 To my knowledge there is not a service (Amazon or otherwise) to automatically export your resources accurately. 据我所知,没有一项服务(亚马逊或其他)可以准确地自动导出您的资源。 It is on the Cloudcraft roadmap , but not available yet. 它位于Cloudcraft 路线图上 ,但还没有。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM