Azure-Samples / acme-fitness-store

Sample - how to deploy Spring Boot apps to Azure?
https://docs.microsoft.com/en-us/azure/spring-cloud/overview
MIT License
84 stars 158 forks source link

command to retrieve ids fails in codespaces. 01-workshop-environment-setup #154

Closed anishp55 closed 1 year ago

anishp55 commented 1 year ago

fails

export LOG_ANALYTICS_RESOURCE_ID=$(az monitor log-analytics workspace show \ 
    --resource-group ${RESOURCE_GROUP} \ 
    --workspace-name ${LOG_ANALYTICS_WORKSPACE} | jq -r '.id')  

works export LOG_ANALYTICS_RESOURCE_ID=$(az monitor log-analytics workspace show --resource-group ${RESOURCE_GROUP}  --workspace-name ${LOG_ANALYTICS_WORKSPACE} | jq -r '.id')

anishp55 commented 1 year ago

it seems that for certain users line breaks are causing issues. need to figure out the shell env settings to help fix this.