Skip to content

How can I split the appsync into multiple stack? #344

Description

@zhaoyi0113

First of all, thanks a lot for releasing this awesome plugin. I have a question about how to split the appsync into multiple stack?

My project structure looks like:

main/serverless.yml
dataSources/serverless.yml
resolvers/serverless.yml
schema/serverless.yml

The main folder only deploys the Appsync instance and logging and authentication. It doesn't include any schema, resolvers etc.

And other folders each of which is to deploy schema, resolvers, dataSources to the Appsync deployed by the main folder. In these folders, they need to import the appsync arn in order to attach these resolvers.

That means there will be multiple cloudformation stacks created and using cross stack reference among them. I wonder how I can make this by using this plugin.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions