Skip to content

Instantly share code, notes, and snippets.

View gkze's full-sized avatar
🛠️
perpetually tinkering

George Kontridze gkze

🛠️
perpetually tinkering
View GitHub Profile
@gkze
gkze / s3_addToBucket.js
Last active December 14, 2019 22:11 — forked from james-fourth/s3_addToBucket.js
AWS-SDK S3 upload
// Load the AWS SDK, fs and path modules for Node.js
var AWS = require("aws-sdk");
var fs = require("fs");
// Set the region
AWS.config.update({region: "us-west-1"})
// Create S3 service object
const s3 = new AWS.S3({apiVersion: "2006-03-01"});