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

Destroy TRE script unbound variable fix #3864

Merged
merged 1 commit into from
Feb 29, 2024
Merged
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
4 changes: 2 additions & 2 deletions devops/scripts/destroy_env_no_terraform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ if [ "${keyvault}" != "0" ]; then

keys=$(az keyvault key list --vault-name "${keyvault_name}" -o json | jq -r '.[].id')
for key_id in ${keys}; do
echo "Deleting ${secret_id}"
echo "Deleting ${key_id}"
az keyvault key delete --id "${key_id}"
done

certificates=$(az keyvault certificate list --vault-name "${keyvault_name}" -o json | jq -r '.[].id')
for certificate_id in ${certificates}; do
echo "Deleting ${secret_id}"
echo "Deleting ${certificate_id}"
az keyvault certificate delete --id "${certificate_id}"
done

Expand Down
Loading