Search code examples
amazon-web-servicesamazon-dynamodbaws-cloudformationdevopsinfrastructure

extracting cloudformation template from an existing instances of AWS services (e.g. a dynamodb table)


I am exploring infrastructure as code ....

I have built a small application using AWS serives based around dynamo, and Lamdha functions. Is there a way to extract (download) the cloudformation templates that would described these resources (I created them by hand the first time) so I can automate the duplication of these into a different region (for example), or tear down and rebuild within the same region?

thanks!


Solution

  • Probably the best tool for that would be fully open-source tool called former2 developed an AWS Hero:

    Generate CloudFormation / Terraform / Troposphere templates from your existing AWS resources