You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
I'm getting issue running the waypoint-examples/aws/lambda/nodejs-graphql example as is (with no change to the provided scripts).
OS: MacOSX Ventura 13.4.1 darwin/arm64 (M1)
Waypoint version:
CLI: v0.11.3 (2933d41)
Server: v0.11.3
Docker version: 24.0.5
Describe the bug
Running waypoint up produces an error on the TargetGroup for Lambda:
! Creating TargetGroup for Lambda version
! ValidationError: Target group name 'waypoint-apollo-lambda-function-' cannot
begin or end with '-'
status code: 400, request id: 8a3f2f36-eb22-43af-bca8-6fdc3418b666
Steps to Reproduce
As described in the tutorials, I ran the initialization commands as follow:
Also, the string waypoint-apollo-lambda-function- is 32 characters long, proving the issue comes from that.
A solution is to update the code example to a shorter app name. Also, I'm unsure if there is an option to set a custom TargetGroup name in the waypoint.hcl file (I'm just starting to learn it).
Describe your environment
I'm getting issue running the
waypoint-examples/aws/lambda/nodejs-graphql
example as is (with no change to the provided scripts).Describe the bug
Running
waypoint up
produces an error on the TargetGroup for Lambda:Steps to Reproduce
As described in the tutorials, I ran the initialization commands as follow:
which both went successful.
The
waypoint.hcl
file is the same as in the example https://github.com/hashicorp/waypoint-examples/blob/main/aws/lambda/nodejs-graphql/waypoint.hclHowever, running
waypoint up
produces the following outputs:Expected behavior
It should successfully deploy the NodeJS + Graphql application.
Additional context
None.
The text was updated successfully, but these errors were encountered: