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.

已提問 8 個月前檢視次數 310 次
2 個答案
0
已接受的答案

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
已回答 8 個月前
profile picture
專家
已審閱 3 個月前
  • 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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南