flawless2011 / aws-node-water-sensor

A version of node-water-sensor that utlizes AWS Lambda.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aws-node-water-sensor

Simple node.js AWS Lambda function to send alerts from the water sensor via Twilio.

Notes

Currently this project uses environment variables for the Twilio configuration. In order to use, update these variables in the Terraform configuration for aws_lambda_function:

  environment {
    variables = {
      FROM_PHONE   = "YOUR TWILIO SENDER NUMBER"
      TWILIO_SID   = "YOUR TWILIO SID"
      TWILIO_TOKEN = "YOUR TWILIO SECRET TOKEN"
    }
  }

Future enhancements

  • Utilize AWS Secrets Manager instead of environment variables

About

A version of node-water-sensor that utlizes AWS Lambda.

License:MIT License


Languages

Language:HCL 62.2%Language:TypeScript 23.6%Language:JavaScript 14.2%