aws-amplify / amplify-hosting

AWS Amplify Hosting provides a Git-based workflow for deploying and hosting fullstack serverless web applications.
https://aws.amazon.com/amplify/hosting/
Apache License 2.0
461 stars 116 forks source link

Define the VPC of the serverless functions deployed as part of Next js deployment #3464

Open mekapotulas opened 1 year ago

mekapotulas commented 1 year ago

Before opening, please confirm:

App Id

NEW_APP

AWS Region

us-east-2

Amplify Hosting feature

SSR

Question

I want to define the vpc of the serverless functions created as part of the Next.js deployment so that they access other resources defined in a particular vpc.

I couldn't find any documentation on how to define the functions created as part of the next js deployment. As Next.js is moving towards a database integrated in the framework approach, I think this feature is much needed.

nadetastic commented 1 year ago

Hi @mekapotulas thank you for opening this issue. I've marked it as a feature request and will follow up with any additional information.

satya1395 commented 1 year ago

+1. I have seen many comments on Discord regarding the same issue. Setting up NextJS API routes is much easier than using AWS Amplify APIs.

github-actions[bot] commented 1 year ago

This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you!