GraphQL Mesh not working on AWS Lambda #7367
Unanswered
mr-nagashima
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created the Lambda function (index.ts) below with reference to "https://the-guild.dev/graphql/mesh/docs/getting-started/deploy-mesh-gateway#deploy-mesh-on-aws-lambda".
Before processing the above URL, we obtain the environment variables of the backend endpoint, issue an HTTP request directly to the backend, and confirm that the API can be called.
index.ts
.meshrc.yaml is as follows.
Endpoint is set as an environment variable.
.meshrc.yaml
If you access it in the same way as in the local environment (npm run dev), you will get 404 as below.
What is this 404 for?
(I tried to remove M's environment variables and write it directly, but the result was the same.)
Please let me know if there is anything wrong with my method.
Thank you for your advice.
Beta Was this translation helpful? Give feedback.
All reactions