From 9abd91fcfdccb7b9e878f82fa90c2ab93239501e Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Fri, 30 Jul 2021 23:14:15 +0300 Subject: [PATCH] Smile AWS profile. --- .aws/config | 2 ++ Makefile | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.aws/config b/.aws/config index 386f4ea..e3e8789 100644 --- a/.aws/config +++ b/.aws/config @@ -1,2 +1,4 @@ [profile shore] region = us-east-1 +[profile smile] +region = us-east-1 diff --git a/Makefile b/Makefile index 23e87bd..7c00f8f 100644 --- a/Makefile +++ b/Makefile @@ -89,3 +89,7 @@ all: .aws/credentials echo '[shore]' > '$@' echo "aws_access_key_id = $$(ph show --field 'UserName' 'shore.co.il/AWS CLI')" >> '$@' echo "aws_secret_access_key = $$(ph show --field 'Password' 'shore.co.il/AWS CLI')" >> '$@' + echo '' >> '$@' + echo '[smile]' > '$@' + echo "aws_access_key_id = $$(ph show --field 'UserName' 'Smile/AWS CLI')" >> '$@' + echo "aws_secret_access_key = $$(ph show --field 'Password' 'Smile/AWS CLI')" >> '$@' -- GitLab