Skip to content

Commit

Permalink
fix: logging for env type
Browse files Browse the repository at this point in the history
  • Loading branch information
harishv7 committed Sep 20, 2023
1 parent 6786df3 commit 2a323ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .platform/hooks/predeploy/06_fetch_ssm_parameters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ if [ ! -d "/efs/isomer" ]; then
fi

ENV_TYPE=$(/opt/elasticbeanstalk/bin/get-config environment -k SSM_PREFIX)
echo "ENV TYPE: $ENV_TYPE" >> /tmp/ssm-type.txt
TIMESTAMP=$(date '+%Y-%m-%d %H:%M:%S')

echo "Timestamp: $TIMESTAMP - ENV TYPE: $ENV_TYPE" > /tmp/ssm-type.txt

# List of all env vars to fetch
ENV_VARS=(
Expand Down

0 comments on commit 2a323ac

Please sign in to comment.