We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f850cd commit 1d2fb49Copy full SHA for 1d2fb49
az_sig_publish
@@ -63,7 +63,7 @@ function get-target-regions() {
63
fi
64
65
echo "Fetching target regions"
66
- TARGET_REGIONS=$(az account list-locations -o json | jq -r '.[] | select( .metadata.regionType != "Logical" ) | .name' | sort | grep -v -E "(${BLACKLISTED_TARGET_REGIONS// /|})" | tr '\n' ' ')
+ TARGET_REGIONS=$(az account list-locations -o json | jq --args -r '[.[] | select(.metadata.regionType != "Logical") | .name] - $ARGS.positional | sort | join(" ")' ${BLACKLISTED_TARGET_REGIONS})
67
}
68
69
function ensure-vhd-uri-exists() {
0 commit comments