Adding verification script for deployment pipeline
This commit is contained in:
parent
a5731a48c3
commit
2518d85a88
15
scripts/verify-aws-fields.sh
Normal file
15
scripts/verify-aws-fields.sh
Normal file
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user