How to transform serverless.ts files into cloudformation templates

Hi
We’re trying to use severless framework to deploy our applications and we have few doubts. How can we transform severless.ts files into cloudformation templates before they are being deployed? Earlier we used serverless.yml files to convert them into cloudformation but we don’t know how to do it with typescript files

Hey there. Serverless Framework offers the serverless package command you can use to generate all the files that would get pushed to AWS for you so you can do what you want instead.

What doubts do you have though? Perhaps I can help talk through them with you?

1 Like

We want to use Iac scanning with CloudFormation Guard to scan serverless files. We’re looking for a way to convert serverless.ts files into cloudformation format so we could scan them. Could you help us with a solution for this?