https://pulumi.com logo
Title
a

ambitious-camera-87750

10/15/2021, 8:27 PM
Hello all, happy Friday! We are trying to build out a global RDS and getting this very strange error message. There is no duplicate URN in our stack that would conflict with this. Any ideas?
Diagnostics:
  aws:rds:GlobalCluster (my-global-test2):
    error: Duplicate resource URN 'urn:pulumi:accounts-dev::rds::aws:rds/globalCluster:GlobalCluster::my-global-test2'; try giving it a unique name
s

steep-toddler-94095

10/15/2021, 8:43 PM
are you sure? Perhaps you put it in a non-memoized function and it's being called twice?
l

little-cartoon-10569

10/15/2021, 8:50 PM
Or creating something in a loop, but with a fixed name.
a

ambitious-camera-87750

10/15/2021, 8:55 PM
Yep, that was it. we had another function further up that was calling it. Thank you for your help!
😛: 1