Questions tagged [serverless-plugins]
45 questions
1
vote
1 answer
serverless plugin behind proxy
How can I use the command serverless plugin list behind proxy?
I am getting this error:
request to https://raw.githubusercontent.com/serverless/plugins/master/plugins.json failed, reason: connect ECONNREFUSED 151.101.84.133:443
The command…

Azize
- 4,006
- 2
- 22
- 38
1
vote
1 answer
Serverless deploy not picking-up AWS credentials
On PowerShell, I defined two environment variables to define AWS secret and access key:
$AWS_ACCESS_KEY_ID="AAAA"
$AWS_SECRET_ACCESS_KEY="CCCC"
PS C:\Users\Obaid\serverless\helloJava> serverless deploy
Serverless: Packaging service...
Serverless…

obaid
- 361
- 3
- 10
0
votes
0 answers
Using Custom IAM role instead of ApigatewayToStepFunctionsRole
I am deploying a lambda using serverless. The lambda has a step function. But while deploying, I see that a role called "ApigatewayToStepFunctionsRole" is created. How can I use a custom role instead.
I am using the step function…

sxp
- 193
- 1
- 1
- 11
0
votes
0 answers
Serverless unable to add provisoned concurrency for Specific Lambda Alias using serverless-provisioned-concurrency-autoscaling plugin
We use API-Gateway and Lambda architecture..
config/function.yml
handler: ${self:custom.alias}/src/create_shipment.handler
name: ${self:service}-create-shipment-${self:provider.stage}
description: create shipment api service -…

ashakshan
- 419
- 1
- 5
- 17
0
votes
0 answers
Serverless: TypeError: Cannot read property 'outputs' of undefined
service: testnewman
# app and org for use with dashboard.serverless.com
#app: your-app-name
#org: your-org-name
plugins:
- serverless-bundle
- serverless-pseudo-parameters
- serverless-plugin-stack-config
- serverless-plugin-newman
-…

systemdebt
- 4,589
- 10
- 55
- 116
0
votes
1 answer
how to create a http proxy api gateway from serverless without creating lambda function
I have to create http proxy api gateway from serverless code for this flow: https://aws.amazon.com/blogs/compute/using-amazon-api-gateway-with-microservices-deployed-on-amazon-ecs/

sarbada
- 395
- 1
- 9
0
votes
1 answer
How do you request the DynamoDB.DocumentClient service in a plugin?
To make AWS requests in a plugin, you can do something like this:
constructor(serverless, options) {
...
this.provider = serverless.getProvider('aws');
}
...
hook() {
...
await this.provider.request('S3', 'put', params);
…

neverendingqs
- 4,006
- 3
- 29
- 57
0
votes
1 answer
Serverless Framework - AWS CloudFront with S3 origin and multiple behaviours
I need to configure serverless.yaml as following:
1) 3 environments (stages) - dev ,qa ,prod
2) qa and dev should be ip restricted.
CloudFront serving static html files from S3.
S3 bucket :
qa/index.html
dev/index.html
prod/index.html
1)…

Alex Portnoy
- 426
- 1
- 5
- 14
0
votes
1 answer
serverless plugin warmup cannot be found by severless deployment
I was getting the below error while I was trying to deploy lambda on AWS.
Serverless Error ---------------------------------------
An error occurred: WarmUpPluginLambdaFunction - The runtime parameter of nodejs6.10 is no longer supported for…

Rutvik Joshi
- 97
- 3
- 13
0
votes
1 answer
Deploy Azure function with contributor account permission
I am working on a Azure environnent for a client, my account is set as "contributor".
Somehow I cannot use the Azure build in console, I need to create a storage account but when I do so or when I use an existing one, I get the error :
"Storage…

Thibaut
- 1
- 1
0
votes
3 answers
Serverless: Your serverless.yml has an invalid value with key: "Ref"
While installing serverless with following command
sls plugin install -n serverless-alexa-skills --stage dev
I am getting an error like Your serverless.yml has an invalid value with key: "Ref"
The following is my sample serverless.yml…

Nag
- 689
- 1
- 5
- 15
0
votes
2 answers
sls alexa auth returns 400 Bad Request
I have recently started working on alexa serverless. I have followed the steps as mentioned in a serverless blog https://serverless.com/blog/how-to-manage-your-alexa-skills-with-serverless/
I have installed the serverless and created security…

Nag
- 689
- 1
- 5
- 15
0
votes
1 answer
Serverless Lambda deployment in node8.10 not uploading any code
I have a lambda function deployed with Serverless. It was deployed with node6.10 runtime, so I decided to redeploy the service with the node8.10 runtime instead.
However after making this redeploy I faced a strange issue where I could not invoke the…

Josh
- 1,517
- 1
- 13
- 21
0
votes
1 answer
Unable to create new function with Alibaba Cloud Function Compute Serverless Plugin
I am following this guide: Aliyun Function Compute Serverless Plugin to try to create a new service with a new Node.js serverless function under the Alibaba Cloud Function Compute using the Serverless Framework as well as the Aliyun Function Compute…

juvchan
- 6,113
- 2
- 22
- 35
0
votes
1 answer
Node.js serverless offline hangs after 1st request
first time when i make a request its working fine, but when i make the request again without restarting the server, its going time out and returning some promise error
following is the code and error
module.exports.getOne = (event, context,…

Hareesh
- 305
- 1
- 3
- 12