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.
- Host: GitHub
- URL: https://github.com/cldellow/brics-lambda
- Owner: cldellow
- License: apache-2.0
- Created: 2018-12-25T20:00:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-13T11:24:58.000Z (over 5 years ago)
- Last Synced: 2025-02-06T03:41:54.672Z (over 1 year ago)
- Language: Java
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"]}
```