incalculable-dream-27508
06/01/2020, 12:35 PMimport pulumi
import pulumi_openstack as openstack
https://www.pulumi.com/docs/reference/pkg/openstack/compute/instance/ gives me something like
instance = openstack.compute.instance("some_name", flavor_name="1C-2G", image_name="some image", networks=[network_id_goes_here])
and I'm having issues with network_id_goes_here
.
First I tried according to https://www.pulumi.com/docs/reference/pkg/openstack/networking/network/
our_int_net = "openstack.networking.Network("Our Project Internal Network")
but then pulumi preview
wanted to create such network.
I tried the other syntax, guessing somewhat
openstack.networking.get('our_int_net', 'uuid_from_openstack_interface')
but that threw AttributeError: module 'pulumi_openstack.networking' has no attribute 'get'
at me.