Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I just created Dynamodb table, Lambda function, S3 bucket, etc. I would like to know if there's a way to export this configuration as cloudformation template

like image 914
user3187675 Avatar asked Dec 06 '17 22:12

user3187675


2 Answers

CloudFormer is designed to accomplish this, but it does not support Lambda functions, API Gateway and other services. 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. 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.

like image 181
btbright Avatar answered Oct 20 '22 19:10

btbright


Yes you could use cloudformer to export your aws resources into cloudformation template. Please refer this for example and sample steps . http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-using-cloudformer.html

like image 42
Usman Azhar Avatar answered Oct 20 '22 18:10

Usman Azhar