If like me you woke up with your Terraform plan no longer passing after
an OVH update of the OpenStack
What follows should be of interest to you.
I had this error:
Concretely, you have a Terraform plan like this:
At the time of the
terraform apply, you have the above error. And even worse than that,
Terraform is running in a loop.
It is the change to Stein which is in cause.
Before, you had your VM. You would specify to it:
- The list of networks to attach to
- The list of security groups to put the VM in
Openstack automatically created the ports (virtual network interfaces) and
Terraform applied the security groups to the machine, i.e. to all the ports (public as well as
ports (both public and vrack).
Now, you have to apply security groups only on external ports
and not on all ports.
The good news is that in the future we will finally be able to put security groups
to the interfaces assigned to the vracks on all the regions, as it is already
possible on GRA9 !!!
Well, how do you make it all work?!
And voila! :)