OK, but I'm apparently back to where I was. I have...
# python
i
OK, but I'm apparently back to where I was. I have
Copy code
my_net = openstack.networking.Network("Network-Name-As-Seen-In-Openstack", admin_state_up="true", name="Network-Name-As-Seen-In-Openstack", opts=pulumi.ResourceOptions(import_='network-uuid-from-openstack'))
define a security group
sec_git
with some rules, and then
Copy code
instance = openstack.compute.Instance("my_test.example.internal", flavor_name="some_flavor", image_name="image_name", key_pair="my_key", security_groups=[sec_git], networks=[my_net])
and when I do
pulumi preview
it complains about
Copy code
error: openstack:compute/instance:Instance reousrce 'my_test.example.internal' has a problem: network.0: expected object, got string