I’m new to serverless and would like to understand the following,.
Is there a way to extract all the cloudformation code into a stand-alone template file that I can then put into S3 and use CloudFormation to manage my deployments myself?
In order words, right now we’re building apps with serverless (i.e. lambda, web api, S3 static angular web UI, dynamoDb, etc) and we deploy them via serverless deploy cli through a custom CodeBuild job we have. However, we want more control and really want to:
- Have serverless CLI create a CloudFormation.template file.
- We will then update this file to S3.
- From there, we will then create the required CodePipeline that watches the S3 butcket for CloudFormation.template updates and
- this will then trigger a deployment of the CloudFormation template.
serverless package cli looks interesting but that (as far as I can tell) doesn’t create a stand alone valid cloudformation template. Thanks for your patience.