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
profile pictureAWS
エキスパート
回答済み 8ヶ月前
  • 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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ