Closed anishp55 closed 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')
export LOG_ANALYTICS_RESOURCE_ID=$(az monitor log-analytics workspace show --resource-group ${RESOURCE_GROUP} --workspace-name ${LOG_ANALYTICS_WORKSPACE} | jq -r '.id')
it seems that for certain users line breaks are causing issues. need to figure out the shell env settings to help fix this.
fails
works
export LOG_ANALYTICS_RESOURCE_ID=$(az monitor log-analytics workspace show --resource-group ${RESOURCE_GROUP} --workspace-name ${LOG_ANALYTICS_WORKSPACE} | jq -r '.id')