-
Notifications
You must be signed in to change notification settings - Fork 184
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
Can't separate appsync into different file #606
Comments
Hi @willa75 Right now, you can't do this appSync:
- ${file(serverless.appsync-api.yml )}
I guess what you're trying to do might make sense and allowing it would help structure the different parts of the config. I'd be happy to receive a PR if that's something you'd like to help with. |
Hey @bboure Thanks for getting back so quick, and that is understandable! I think I would like to take a shot at this change, though I will take me a bit to learn the basics of serverless framework plugin building. Will comment here when I have a working version of it |
Hey there,
I started playing around with version
2.2.1
of this plugin, and I encountered an error with it being unable to pick up authorization (unsure about other fields) when I separate the appsync config into its own file like so:I specifically get an error saying that
Can't read 'type' of undefined
where it references this line (99):underneath the function/file
getAppSyncConfig
.The text was updated successfully, but these errors were encountered: