https://pulumi.com logo
Title
i

incalculable-dream-27508

06/11/2020, 4:21 PM
OK, but I'm apparently back to where I was. I have
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
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
error: openstack:compute/instance:Instance reousrce 'my_test.example.internal' has a problem: network.0: expected object, got string