Just found an interesting piece of unexpected beha...
# general
s
Just found an interesting piece of unexpected behaviour when
ResourceOptions
is used to specify an existing resource ID (such as a VPC created default route table) instead of allowing a new one to be created: the resource doesn’t show up in the preview tree, and thus it’s children (as configured by
parent
on
ResourceOptions
get displayed as parented to the root node of the stack.
I can probably build a small reproducer for this if it’s not immediately obvious whether it’s intended behaviour or not
w
I believe I understand what's going on here - but if you have a repro and could open an issue that would be helpful. If this issue is what I expect, it may be fixed with https://github.com/pulumi/pulumi/pull/1578. /cc @incalculable-sundown-82514.
s
Yes, that looks like it might be the issue. I’ll put together a minimal repro and open an issue for it.