This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const fs = require('fs'); | |
const util = require('util'); | |
const exec = util.promisify(require('child_process').exec); | |
const Writable = require('stream').Writable; | |
const NEWLINE_SEPARATOR = process.env.NEWLINE_SEPARATOR || "\n"; | |
const AWS_SESSION_DURATION = process.env.AWS_SESSION_DURATION || 3600; |