From 2518d85a88324ffb529d44be3f9e1a7d8d8bcf09 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 23 Feb 2023 21:08:59 -0800 Subject: [PATCH] Adding verification script for deployment pipeline --- scripts/verify-aws-fields.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/verify-aws-fields.sh diff --git a/scripts/verify-aws-fields.sh b/scripts/verify-aws-fields.sh new file mode 100644 index 0000000..ce9ac69 --- /dev/null +++ b/scripts/verify-aws-fields.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +echo "Checking to make sure all required AWS env vars are present" + +[[ $AWS_DEFAULT_REGION != '' ]] +echo AWS_DEFAULT_REGION is set + +[[ $AWS_DEFAULT_REGION != '' ]] +echo AWS_ACCESS_KEY_ID is set + +[[ $AWS_DEFAULT_REGION != '' ]] +echo AWS_SECRET_ACCESS_KEY is set +