https://pulumi.com logo
#getting-started
Title
# getting-started
f

freezing-vase-18205

01/12/2024, 10:30 PM
Greetings, who has smarts to understand why pulumi says I am using a deprecated options whilst I am not (python)
Copy code
inst = compute.Instance(
            name,
            compute.InstanceArgs(
                flavor_name="ea.008-0024",
                image_name="nesc-baseimages-debian-11-latest",
                key_pair="rdodin",
                networks=[compute.InstanceNetworkArgs(name=network.name)],
            ),
            pulumi.ResourceOptions(depends_on=[network, subnet]),
        )
pulumi app reports this
warning: floating_ip is deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead
And indeed, the floating_ip field of the
openstack.compute.instance
is deprecated, but I am not using this field Looks like default value gets applied and that messes things up…