-
Notifications
You must be signed in to change notification settings - Fork 78
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
API gateway apiKeys not generated #172
Comments
I'm having a similar issue. Everything works well but no API keys are generated.
I was able to find something which may work here: serverless/serverless#4928 Is this how others are doing it now? |
I got mine to work by removing |
That worked for me as well. I don't have a usage plan, so just moving |
API keys are not generated even if those are passed inside the provider section:
I would expect that the API gateway would use the api key name defined inside the provider section. Same as https://www.serverless.com/framework/docs/providers/aws/events/apigateway/#setting-api-keys-for-your-rest-api
serverless: 3.16.0
serverless-apigateway-service-proxy: 2.1.0
yml:
`service: test-integration
plugins:
custom:
apiGatewayServiceProxies:
- dynamodb:
path: /dynamodb/{id}
method: put
tableName: ${EXISTING_TABLE_ARN}
hashKey:
pathParam: id
attributeType: S
action: PutItem
cors: true
private: true
AWS provider configuration
provider:
name: aws
region: us-east-1
stage: dummy
apiGateway:
apiKeys:
- name: test
value: 12345
`
The text was updated successfully, but these errors were encountered: