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
//Using encode, parse from 'ini' lib, probably not needed *shrugs* | |
async function setAWSCredentials () { | |
const userProfilePath = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'] | |
const awsCacheFile = '/.aws/cli/cache' | |
const awsCredentialFile = '/.aws/credentials' | |
const cachefullPath = userProfilePath + awsCacheFile | |
const credsFullPath = userProfilePath + awsCredentialFile |
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
variable "aws_region" { | |
default = "eu-west-1" | |
} | |
variable "domain" { | |
default = "my_domain" | |
} | |
provider "aws" { | |
region = "${var.aws_region}" |
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
git ls-files -z | xargs -0n1 git blame -w | perl -n -e '/^.*\((.*?)\s*[\d]{4}/; print $1,"\n"' | sort -f | uniq -c | sort -n |