sparse-intern-71089
04/09/2020, 11:04 PMgentle-diamond-70147
04/09/2020, 11:08 PMeager-cartoon-54068
04/09/2020, 11:46 PMeager-cartoon-54068
04/10/2020, 1:16 PMconst id = new random.RandomId("id", {byteLength: 8});
I always get
error: Duplicate resource URN 'urn:pulumi:dev::folding-foundation::random:index/randomId:RandomId::id'; try giving it a unique name
eager-cartoon-54068
04/10/2020, 1:17 PMeager-cartoon-54068
04/10/2020, 1:18 PMrandom
package.eager-cartoon-54068
04/10/2020, 1:19 PMconst idasdf = new random.RandomId("id-asdf", {byteLength: 8});
error: Duplicate resource URN 'urn:pulumi:dev::folding-foundation::random:index/randomId:RandomId::id-asdf'; try giving it a unique name
eager-cartoon-54068
04/10/2020, 1:47 PMeager-cartoon-54068
04/10/2020, 8:54 PMcomputeEnvironmentNamePrefix
. It’s unfortunate that you can’t set the length of the id to generate, but this does what I need.gentle-diamond-70147
04/10/2020, 8:55 PMRandomString
, but computeEnvironmentNamePrefix
is likely easier in the long run.eager-cartoon-54068
04/10/2020, 8:56 PM