You can import existing projects or create new stacks in Stackery based on serveral types of serverless framework templates. This means that if you already have a repository with a valid template file, you can either import that repository directly, or create a new repository based on it. At the moment, Stackery supports importing existing stacks from GitHub or GitLab.
Supported Template Formats
A serverless template describes the cloud resources AWS CloudFormation will provision when creating a stack. The template also defines relationships between resources, such as permissions for resources to interact with each other.
In Stackery, new stacks are created using the AWS SAM template format by default, though both AWS SAM and Serverless Framework formats are supported.
AWS Serverless Application Model (AWS SAM)
AWS SAM is an open-source template specification created by AWS. AWS SAM is supported directly by AWS CloudFormation, which allows the application's template flexibility while maintaining syntax consistency.
An AWS SAM stack is typically defined in a
template.yaml file saved in the root directory of your serverless project. Formatting rules for AWS SAM templates are specified in detail in the README of the AWS SAM repository.
For more information about using AWS SAM templates, see the AWS SAM docs.
The Serverless Framework is a tool created by Serverless Inc. that offers a simplified way to getting started with serverless resources, and relies on additional CloudFormation or third-party plug-in usage as the application grows.
The Serverless Framework has developed its own serverless template specification, which is defined in a
For more information about using Serverless Framework templates, see the Serverless.yml Reference.