Skip to content

Commit

Permalink
Fix: helper scripts (#1757)
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman authored Oct 23, 2023
2 parents 87cf952 + 06d9029 commit 3e54a6e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions terraform/restart-app.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

set -e

if [ $# -ne 1 ]; then
echo "Usage: $0 D|T|P"
exit 1
fi

ENV="$1"
APP="AS-CDT-PUB-VIP-CALITP-$ENV-001"
RG="RG-CDT-PUB-VIP-CALITP-$ENV-001"
NOW=$(date --utc)

az webapp config appsettings set --name "$APP" --resource-group "$RG" --settings change_me_to_refresh_secrets="$NOW"
Empty file modified terraform/secrets/file.sh
100644 → 100755
Empty file.
Empty file modified terraform/secrets/read.sh
100644 → 100755
Empty file.
Empty file modified terraform/secrets/value.sh
100644 → 100755
Empty file.

0 comments on commit 3e54a6e

Please sign in to comment.