create CFTs of the resources created from console

0

Please healp me out with this issue..

I was wandering if there is any way within the AWS to create the cloudformation template of the resources created manually from the console. There are articles on using former2.com but its not secured, so is there in other way to create CFTs.

asked 7 months ago265 views
2 Answers
0
Accepted Answer

Currently, there is no available tool within AWS that creates a CloudFormation template from existing resources.

CloudFormer is a very old tool and I'm not able to find any official AWS documentation/blogs that still reference it. Per the comment here, https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/439#issuecomment-611676438 there are no plans to enhance CloudFormer. It is also no longer available in the list of sample templates in AWS CloudFormation console.

Looks like Former2 is the best option available for now https://aws.amazon.com/blogs/opensource/accelerate-infrastructure-as-code-development-with-open-source-former2/. But as you already know, it is not an official AWS tool and it's open source.

You can import existing resources into a CloudFormation stack, but you still have to create the template that describes it. More information about it here https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html and https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-existing-stack.html

profile picture
joahna
answered 7 months ago
profile picture
EXPERT
reviewed 2 months ago
  • Yeah agreed I searched the CloudFormer is not anymore live. The issue with the existing resources is we need to give the template specifying all the resources and thats what I want to know because I have created whole VPC, Subnet, Security group IDs, route table through console and the deployment is working. When I tried to create it with CFTs I found out some part is missing as the ECSservice is not running with VPC id and Subnet IDs created with CFTs. If you can advice anything on this it would be a great help

0
  • I have created my all resources VPC, Subnet, Security group, etc through AWS console. Now I want this to get converted into CFTs. I checked this link earlier but didn't understood. Can you elaborate this how these works

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions