Hey bash experts!
workspace_id=$(curl -s --header "Authorization: Bearer ${TFE_TOKEN}" --header "Content-Type: application/vnd.api+json" "<https://some/giant/url/here>" | jq -r .data.id)
echo "Workspace ID is ${workspace_id}"
when I run that curl command in shell, it works fine but when I put that into a shell script it just returns null, any ideas why?