Skip to content
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

Recommended upgrade path from old multi-API stack #633

Open
crrobinson14 opened this issue May 30, 2024 · 0 comments
Open

Recommended upgrade path from old multi-API stack #633

crrobinson14 opened this issue May 30, 2024 · 0 comments

Comments

@crrobinson14
Copy link

We are upgrading a v1 stack with two APIs defined in a single stack to the latest version of the plugin. As noted in https://github.com/sid88in/serverless-appsync-plugin/blob/master/doc/upgrading-from-v1.md multi-API stacks are no longer supported, so we separated the environment into two stacks. So far so good.

However, we have a legacy app that would be very difficult to update in terms of the API URL it's wired to. Breaking out the stacks like this changes the URLs (we've confirmed this in dev, not that it was unexpected). There is a suggestion here: You can probably use [custom domains](https://github.com/sid88in/serverless-appsync-plugin/blob/master/doc/custom-domain.md) to workaround that, if that's an option. We will be testing this to confirm but I also wanted to post here to see if you had any new thoughts on possible options here and/or if you still felt this was the correct approach. The Custom Domains method seems to allow us to set our OWN domain, but not necessarily take over one of the randomized URLs auto-generated by AWS in deployments that don't have them. Perhaps there is some way to set this to refer to an existing URL?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant