Add command for appending new resources based from custom-defined templates #4921
allanchua101
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be really cool to have another cli-based command that enables developers to easily append serverless resources in their SAM templates based from their own templates. If we think about it, each team has their own expectation and standards of how a resource should be defined in their SAM templates. By providing this new set of commands, developers would be able to:
rest-function.yaml
By having this capability, developers would have a supercharged way of appending resource configuration without leaving their terminals and reduce amount of time required to copy paste and search patterns over large sam files.
How is this different from sam init?
sam init
command is mainly used for bootstrapping fresh projects, this command is dedicated for appending resources of any type under SAM. If we think about it, appending resources to a SAM file is done more often compared to setting up a fresh stack from the ground in real projects.Beta Was this translation helpful? Give feedback.
All reactions