[Bug]: ipv4_address & ipv6_address on server resource are not updated correctly #688
Labels
bug
pinned
requires: plugin-framework
The issue can be fixed after the resource has be migrated to the plugin framework.
What happened?
When adding/removing a primary IP through
hcloud_server.public_net.ipv4/6_enabled
the updated values inhcloud_server.ipv4/6_address
are only visible after a second apply.Bug demoed here: https://asciinema.org/a/9vjHZx6bEq3RoWYTZ1EbftUEu
What did you expect to happen?
Expected the changes to be visible immediatly after adding/removing the address.
Please provide a minimal working example
Can be observed with this config and then toggling the
ipv6
address on and off, output should change with a 1 apply "delay":For easier debugging, these changes to the e2e test also exhibit the broken behaviour:
The text was updated successfully, but these errors were encountered: