- Login to Google console
- Create or select a project
- Go to APIs and Services
- Create new service account
- Create and download service account key as
JSON
- Rename downloaded file to
credentials.json
- On
APIs and Services > Credentials
create a new API key - Store generated key to to
.env
file with keyAPI_KEY
- On Console enable
Sheets API
for the project - Copy destination spreadsheet id from Goolgle sheet url
- Store id to
.env
file with keySPREADSHEET_ID
- Continue to the next section
cd blueprint
npm install
zip -r ../blueprint.zip *
Use the outputted zip as AWS Lambda blueprint and add ENV variables on the console.