Closed Karl-HeinzS closed 3 years ago
Azure Cloud Shell does not have the uuidgen
command.
The script should check that the command is installed and fail early otherwise. Or better, find another approach to generating names
Replaced name generation via uuidgen with openssl
Deployment of eventhubs-streamanalytics-azuresql fails in Azure Cloud Shell with:
Error: ***** [D] Setting up DATABASE retrieving storage connection string deploying azure sql . server: myiottestsql . database: streaming creating logical server enabling access from Azure deploying database db creating file share uploading provisioning scripts uploading provision.sh... Finished[#############################################################] 100.0000% uploading db/provision.sql... Finished[#############################################################] 100.0000% running provisioning scripts in container instance ../components/azure-sql/create-sql.sh: line 54: uuidgen: command not found There was an error, execution halted Error at line 54