Serverless Framework version 4.2.1 now offers experimental support for AWS SAM (Serverless Application Model) and CloudFormation templates. The reason: medium-to-large organizations are seeking to consolidate tools to standardize workflows and simplify development. They don't want multiple serverless frameworks, they just want one.
With this initial release, Serverless Framework enables you to deploy new or existing SAM or CloudFormation projects, without requiring modifications to your existing configuration files. Simply take your raw SAM or CF file in YAML or JSON, and the Serverless Framework will handle the deployment seamlessly.
Serverless Framework will auto-detect SAM/Cloudformation projects in template.yml. You can also provide a custom template file name. We've enabled initial support for samconfig.toml configuration properties that are specific to deployment.
Further, we've enabled support for Serverless Framework's popular Serverless Variables, enabling you to add them directly into SAM and CF syntax. Here are the Serverless Variables that are supported in SAM/CFN templates, with many more coming:
Looking ahead, our focus will be on integrating SAM and CloudFormation templates into Serverless Compose files, allowing you to deploy traditional Serverless Framework, SAM, and CloudFormation projects together. Additionally, you will be able to set stage-based configuration Variables that all project files can inherit, as well as share security policies, observability configuration, and more—bringing you closer to a fully consolidated, streamlined workflow.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps serverless from 4.1.23 to 4.2.1.
Release notes
Sourced from serverless's releases.
Changelog
Sourced from serverless's changelog.
... (truncated)
Commits
0eed360
docs: add note on supported SAM/CF files (#12768)aaaa66d
fix: resolvers docs links (#12767)7e663b4
docs: add general Resolvers and AWS Resolver specific documentation (#12756)8b8a749
docs(sam): add sam docs to menu (#12766)0313fa5
docs(sam): update SAM/CFN docs add remove docs (#12765)2bd883b
feat(sam): read toml config (#12743)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show