Mhmm, that indeed works syntax-wise, though I'm no...
# python
i
Mhmm, that indeed works syntax-wise, though I'm not sure yet how to use it. Attempts like
Copy code
my_net = openstack.networking.Network.get('my_net_name', 'uuid_from_openstack')
and then
Copy code
instance = openstack.compute.Instance("name", networks=[my_net])
(shortened) complains about
Copy code
Instance resource 'name' has a problem: network.0: expected object, got string
w
Note that the error here is suggesting that networks expects an object not a string. You can see the API for this here: https://www.pulumi.com/docs/reference/pkg/openstack/compute/instance/#instancenetwork.