Skip to content

Commit

Permalink
bug/PN-13231 remove hardcoded account id (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
martiMattei authored Nov 11, 2024
1 parent 32b3f5c commit b4513f3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/checkRequestEvent.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

region=eu-south-1
account=089813480515
account=""

while getopts 'a:i:r:p:' opt ; do
case "$opt" in
case "$opt" in
r)
region=${OPTARG}
;;
Expand Down Expand Up @@ -38,6 +38,11 @@ if [[ ! $profile ]] ; then
exit 1
fi

if [[ -z $account ]] ; then
>&2 echo "-a parameter is mandatory"
exit 1
fi

if [[ ! -f ${inputFileName} ]] ; then
<&2 echo "invalid input file name ${inputFileName}"
exit 1
Expand Down

0 comments on commit b4513f3

Please sign in to comment.