This message was deleted.
# general
s
This message was deleted.
w
I believe you can get it with:
Copy code
vnet.subnets[0].id
c
yes, that works, however, ideally I'd like to run a
.filter()
on
vnet.subnets
to find the correct subnet by name. That doesn't seem to work though with a type error.
I worked around this by moving the vnet creation into a component and outputting each subnet, that way I can now do
vnet.mgmtSubnet
for example