And <https://www.pulumi.com/docs/reference/pkg/ope...
# python
i
f
You should be able to pass in a dict with those keys and corresponding values
i
I'm just somewhat confused as to what I'm supposed to pass there. I define above an OpenStack network, and I expected to need to pass that, but apparently this is completely different stuff I need to pass.
f
https://www.pulumi.com/docs/reference/pkg/openstack/networking/network/ has an example at the very end where it creates the instance w/ the network
I’m not super familiar w/ OpenStack, but I assume you’d do something like this or simply pass { “name”: network1.name } to have it sit on that network
i
Huh. So
Copy code
networks=[{'name': 'my_net'}]
appears to work, or at least
pulumi preview
is not complaining
Indeed, thank you! :)
Oh, so indeed I only need to give the name of the network using this syntax, and pulumi doesn't need to be "aware" of such a network