hubverse-org / hubverse-transform

Data transform functions for hubverse model-output files
MIT License
0 stars 0 forks source link

Add lambda support #7

Closed bsweger closed 1 month ago

bsweger commented 2 months ago

Resolves #4

Although the hubverse_transform package in this repo can be installed and run anywhere, our most immediate need is to run it as an AWS Lambda function (Lambda is AWS's function-as-a-service offering).

To get this deployed to the hubverse-transform-model-output Lambda that already exists in the Hubverse's AWS account*, this PR adds two things:

  1. A handler function that is invoked whenever an AWS event triggers the lambda (when a hub's bucket receives a new model-output file, for example)
  2. A deployment script that packages the code into the .zip structure required by lambda

image

matthewcornell commented 1 month ago

Approved via joint review session.