-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
template resource #26
Comments
That looks great, and would also solve the problem of 'default' parameters as in #24. |
I am starting to pick this task back up. How do you imagine the local override to work for nested structures like Environment Variables. There are two options. Let me illustrate: Assume this is the template (obvious properties omitted for simplicity):
There are two options: 1. Environment variables get merged:: So, 2. Environment variables get overwritten: Option 1 is weird because it literally merges two different dictionaries which can cause complications. It will be even weird for Option 2 is easier to understand, easy to reason about and gives most of the benefits. What do you guys prefer? What do you want to use in your templates? |
This is now available in the |
One of the downsides of the micro services architecture model is that there is more overhead because the configuration, management and deployment tasks are duplicated for each service. Our swagger schemas and Cloudformation templates are full of copy-and-pasted snippets.
In the example below, the commonality is extracted into
LambdaTemplate
, reducing thePutFunction
to 3 lines and allowing the differences between the other functions to be more obvious.The text was updated successfully, but these errors were encountered: