Azure / osdu-infrastructure

OSDU Azure Infrastructure as Code
Apache License 2.0
42 stars 39 forks source link

Unique Fix not working in multiple operating systems #12

Closed danielscholl closed 4 years ago

danielscholl commented 4 years ago

All Submissions:


What is the current behavior?


The common resource script was found not to properly work in cloud shell. Currently it only supports /dev/random which operates slightly different depending upon the OS implementation of /dev/random.

Issue: #7

What is the new behavior?


In attempts to make the script work properly multiple methods were introduced for creating the 3 digit unique string.

  1. shuff
  2. jot
  3. /dev/random (bash or coreutils)

Does this introduce a breaking change?


danielscholl commented 4 years ago

This pull request has been resolved in PR for #10