From 37b17a76c41f185bd0a7db20afb6a3840445cc37 Mon Sep 17 00:00:00 2001 From: Marc Gueury Date: Fri, 27 Dec 2024 14:51:19 +0100 Subject: [PATCH] v3.0 --- basis/bin/destroy_all.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/basis/bin/destroy_all.sh b/basis/bin/destroy_all.sh index 4a78c7c..b42e68c 100755 --- a/basis/bin/destroy_all.sh +++ b/basis/bin/destroy_all.sh @@ -45,6 +45,8 @@ if [ "$CONFIDENTIAL_APP_OCID" != "" ]; then # Disable the app before destroy... (Bug?) if not destroy fails... echo "Confidential app: set active to false" get_output_from_tfstate "IDCS_URL" "idcs_url" + # Remove trailing / + IDCS_URL=${IDCS_URL::-1} oci identity-domains app-status-changer put --active false --app-status-changer-id $CONFIDENTIAL_APP_OCID --schemas '["urn:ietf:params:scim:schemas:oracle:idcs:AppStatusChanger"]' --endpoint $IDCS_URL --force fi