KrysKruk / serverless-import-config-plugin

Split your serverless.yaml config file into smaller modules and import them.
MIT License
10 stars 6 forks source link

imports functions but not resources #4

Open BryanCrotaz opened 4 years ago

BryanCrotaz commented 4 years ago

I have two imported files. One only contains resources, prefixed by Resources:. The other contains functions and resources (with the appropriate prefixes). sls print shows the resources in the root serverless.yml and the function from the imported file, but not the imported resources.

KrysKruk commented 4 years ago

sls print doesn't show serverless config produced by this plugin. Unfortunately you have to deploy your stack or run it offline to get the actual config. This is something not straight-forward to patch, because serverless for the print command shows the original file, not processed one.