An open API service indexing awesome lists of open source software.

https://github.com/cldellow/brics-lambda

An AWS lambda deployment to validate and test brics.dk automata.
https://github.com/cldellow/brics-lambda

Last synced: 9 months ago
JSON representation

An AWS lambda deployment to validate and test brics.dk automata.

Awesome Lists containing this project

README

          

# brics-lambda

An AWS lambda deployment to validate and test brics.dk automata.

`aws cloudformation --region us-east-1 create-stack --stack-name brics --template-body file://stack.yaml --capabilities CAPABILITY_IAM` creates the stack.

`./go` builds the code, uploads to S3 and refreshes the Lambda.

After building the stack, go to the API Gateway and enable CORS for the stage.

## Usage

```
$ curl https://us-east-1.brics.code402.com/test` -d '{"needle": "[0-9]+", "haystack": "abc123 def456"}'
{"hits":["123","456"]}
```