| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Service template using container based lambda function
{
"Sid": "LambdaECRImageRetrievalPolicy",
"Effect": "Allow",
"Principal": {
"Service": "lambda.amazonaws.com"
},
"Action": [
"ecr:BatchGetImage",
"ecr:GetDownloadUrlForLayer"
]
} Runs a custom dev webserver which hosts the lambda function which can be hosted on
$ npm start$ npm run testRuns service using dev-server and tests using Newman test collection.
$ npm run test:newmanStart the environment
$ npm run build
$ docker-compose build
$ docker-compose upIn another temrinal, run:
$ curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{}'| Back | FazBrowse Home | New Git URL |