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.

demandé il y a 8 mois310 vues
2 réponses
0
Réponse acceptée

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
répondu il y a 8 mois
profile picture
EXPERT
vérifié il y a 3 mois
  • 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
EXPERT
répondu il y a 8 mois
  • 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

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions