<@URV6882U9> Sorry, didn’t recognise you just aske...
# general
a
@billions-glass-17089 Sorry, didn’t recognise you just asked the same question 🙂
b
no actually the one above is different than yours
I just so happen to have this same issue
@adorable-gpu-98268 looks like someone found an answer: https://pulumi-community.slack.com/archives/CJ909TL6P/p1641009039304700
a
Ah, that’s helpful, thanks!
👍 1
So, I tried it this way and it doesn’t actually work, the
name
is then the long string passed there and the
type
still is
pulumi-nodejs:dynamic:Resource
😞 1
e
You can't change the type. Similarly to ComponentResources you need to ensure that resource names are globaly unique across your whole program.
b
huh this is similar to what I asked in this discussion: https://github.com/pulumi/pulumi/discussions/9250 TLDR, you can accomplish name spacing by passing the
name
as the
type
of the component resource