From ae92253f048c283259482b99ed6a9da773e271f6 Mon Sep 17 00:00:00 2001 From: Enrico Regge <36001299+reggeenr@users.noreply.github.com> Date: Thu, 25 Apr 2024 14:56:04 +0200 Subject: [PATCH] Update satellite-connector-to-vpc-vsi/run Co-authored-by: Enrique Encalada --- satellite-connector-to-vpc-vsi/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/satellite-connector-to-vpc-vsi/run b/satellite-connector-to-vpc-vsi/run index 010c92fa..98c64312 100755 --- a/satellite-connector-to-vpc-vsi/run +++ b/satellite-connector-to-vpc-vsi/run @@ -67,7 +67,7 @@ function delete_serviceids() { service_ids=$(ibmcloud resource search "type:serviceid AND $1" --output JSON | jq -r '.items') for service_id in $(echo "${service_ids}" | jq -r '.[] | @base64'); do _jqServiceID() { - echo ${service_id} | base64 --decode | jq -r ${1} + echo "${service_id}" | base64 --decode | jq -r "${1}" } ibmcloud iam service-id-delete "$(_jqServiceID '.resource_id')" --force done