-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(primary-ip): conflict when deleting IP
There sometimes happens a conflict in terraform 1.9+ as it handles the state update before a delete differently. Both the server resource as well as the Primary IP resource try to shut down the server, even though the Primary IP should not as it is no longer assigned to the server. This causes our e2e tests to fail. This fixes the regression by explicitly checking that the server still has the IP assigned before trying to detach it.
- Loading branch information
Showing
1 changed file
with
21 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters