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.

posta 8 mesi fa310 visualizzazioni
2 Risposte
0
Risposta accettata

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
con risposta 8 mesi fa
profile picture
ESPERTO
verificato 3 mesi fa
  • 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
ESPERTO
con risposta 8 mesi fa
  • 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

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande