/particles-lf-tests

Test lambda-formation with the Lambda service

Primary LanguageJavaScriptApache License 2.0Apache-2.0

particles-lf-tests

condensation-image

Gitter

Summary

Condensation particles to test lambda-formation with the Lambda service.

Mock Tests - Spotinst

  1. Run the Mock API stack - this uses SAM to be sure to enable capabilities and create a change set
  2. Run LambdaFormation stack - this creates the ARN for the lambda used by CloudFormation Custom Resource - use STAGE url from step 1
  3. Use runit.js to (or manually) launch many mock elastigroups with the ARN from step 2

runit.js example:

node runit.js --runOnce=true --spotinstLambdaARN="arn:aws:lambda:us-east-1:XXXXXXXXXXXX:function:spotinst-lambda-SpotinstLambda-XXXXXXXXXXXX"

|region|Stack|Launch| |------|---------|------|---------| |us-east-1|Mock API|Launch Stack |us-east-1|LF-Spotinst|Launch Stack |us-east-1|Mock ElastiGroup|Launch Stack

License

Apache-2.0 ©