Skip to content

Alexa skill with air quality calculations to check locality fuel burning restrictions by zip code

Notifications You must be signed in to change notification settings

rrigato/burnday

Repository files navigation

alexa_skill_link

https://www.amazon.com/dp/B09PVD9VSC/

getting_started

  1. Create a virtual environment and install dependencies:
python -m venv avenv
source avenv/bin/activate
pip install -r requirements/requirements-dev.txt
  1. run unittests and make sure they pass
python -m unittest
  1. install aws cli v2 for working with aws resources locally

load_ssm_parameter_store_secure_string_with_aws_cli

#assumes region is set and output type is json
((aws ssm get-parameter --name /burnday/v1 --with-decryption | ConvertFrom-Json).Parameter.Value | ConvertFrom-Json)

cloudformation create-stack

aws cloudformation update-stack --stack-name burnday-alexa-skill --template-body file://templates/burnday_alexa_skill.template --tags Key=project,Value=burnday Key=prod,Value=yes Key=cloudformation_managed,Value=yes

detect_secrets

implement to ensure no secrets are commited locally:

setup a baseline where all tracked files will be compared to:

detect-secrets scan > .secrets.baseline

compare all tracked files to baseline the results key should be {} if no secrets are present

detect-secrets scan | \
python3 -c "import sys, json; print(json.load(sys.stdin)['results'])"
(detect-secrets scan | ConvertFrom-Json).results

ask-sdk-core-runtime-dependencies

About

Alexa skill with air quality calculations to check locality fuel burning restrictions by zip code

Resources

Stars

Watchers

Forks

Packages

No packages published