Hi guys, I’m facing the issue that each time I want to create an API Gateway using an specific VPC Link ID the API Gateway is being created with AWS Lambda Integration.
provider:
name: aws
runtime: nodejs18.x
region: us-east-1
functions:
testFunction:
handler: handler.test
events:
- http:
path: /get/serverless/test
method: get
integration: http-proxy
connectionType: vpc-link
connectionId: ‘{VPC LINK ID}’
cors: true
request:
uri: {DNS-NLB}:80/serverless/test
method: get
This api should be hitting a microservice that runs in an eks cluster.
Could someone give me a hint please?