-
Notifications
You must be signed in to change notification settings - Fork 6
Overwriting imported values #2
Comments
Hi @PatrykMilewski ! All already existing parameters will not be overwritten, so your example should work just fine and the final config would be: provider:
aws: aws
runtime: nodejs10.x
memory: 256 Let me know if that works for you. If not, that would be a bug. I guess README should be more precise, sorry for that. |
Thank you for response @KrysKruk I can't get it to work, there is another example with outputs:
Then trying to check, if it works:
It outputs:
Is this expected or I'm doing something wrong? |
@PatrykMilewski I think the issue is with
The log Let me know if the generated config contains informations you need. You can run |
So I was experimenting a little bit and it looks like, you must provide After adding it to child stack, it worked, but still values for
And probably there are much more edge cases for @KrysKruk Do you think it would be possible to hook with your plugin to different Serverless phase? Having I will check if it works correctly for |
Actually it doesn't, I had typo in The only problems that I've found are with Maybe it's worth to check and mention those problems? |
Hey!
I was testing this plugin and it works great, but I found one use case, that is not supported.
I would like to import common base serverless.yml file in each stack and in some cases, I may want to overwrite some of the imported keys values. Example:
/serverless.yml
/childStack/serverless.yml
Is this possible to achieve this using this plugin?
The text was updated successfully, but these errors were encountered: