developmentseed / chip-n-scale-queue-arranger

Chip 'n scale: Queue Arranger helps you run machine learning models over satellite imagery at scale
MIT License
37 stars 7 forks source link

Lambda config example should contain runtime #19

Closed Rub21 closed 4 years ago

Rub21 commented 4 years ago

I am trying to run the chip-scale, it trowing the error of Runtime

➜  chip-n-scale-queue-arranger git:(master) ✗ yarn deploy
yarn run v1.21.1
$ AWS_SDK_LOAD_CONFIG=true kes cf deploy --kes-folder config --kes-class config/kes.js
Already Uploaded: s3://test21/test21/lambdas/5af33326c1a6ce66052c3d3bc93b6ed96aa28029-DownloadAndPredict.zip
Template saved to config/cloudformation.yml
Uploaded: s3://test21/test21/cloudformation.yml
There was an error deploying the CF stack
[/Resources/DownloadAndPredictLambdaFunction/Type/Runtime] 'null' values are not allowed in templates
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
➜  chip-n-scale-queue-arranger git:(master) ✗

The Runtime value is empty in cloudformation.yml

image

drewbo commented 4 years ago

@Rub21 you can add this to the lambda config; I'll update in the example config and thanks for flagging

Rub21 commented 4 years ago

Per chat with @Geoyi , we should add runtime: python3.7, it works!!

drewbo commented 4 years ago

Closed via #15