Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: helper scripts #1757

Merged
merged 2 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading