Skip to content

Commit 083c56e

Browse files
Fixes aws-samples#312 using urandom (aws-samples#320)
1 parent 0d140c6 commit 083c56e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster-install/readme.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ kops needs a "`state store`" to store configuration information of the cluster.
9191
NOTE: The bucket name must be unique otherwise you will encounter an error on deployment. We will use an example bucket name of `example-state-store-` and add a randomly generated string to the end.
9292

9393
# create variables for bucket, state store, and cluster names
94-
$ export S3_BUCKET=example-state-store-$(cat /dev/random | LC_ALL=C tr -dc "[:alpha:]" | tr '[:upper:]' '[:lower:]' | head -c 32)
94+
$ export S3_BUCKET=example-state-store-$(cat /dev/urandom | LC_ALL=C tr -dc "[:alpha:]" | tr '[:upper:]' '[:lower:]' | head -c 32)
9595
$ export KOPS_STATE_STORE=s3://${S3_BUCKET}
9696

9797
# use AWS CLI to create the bucket

0 commit comments

Comments
 (0)