a

    adorable-gpu-98268

    6 months ago
    @billions-glass-17089 Sorry, didn’t recognise you just asked the same question 🙂
    b

    billions-glass-17089

    6 months ago
    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

    adorable-gpu-98268

    6 months ago
    Ah, that’s helpful, thanks!
    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
    e

    echoing-dinner-19531

    6 months ago
    You can't change the type. Similarly to ComponentResources you need to ensure that resource names are globaly unique across your whole program.
    b

    billions-glass-17089

    6 months ago
    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