-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix returned data for already present floating IP #162
Fix returned data for already present floating IP #162
Conversation
Ah, thank you, please add a changelog fragment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a changelog fragment.
Thank you for your quick response. I have added the fragment. Would you be kind enough to include this fix in 1.10.0 version? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
SUMMARY
Floating IP module is idempotent when a Droplet ID is provided. However, the returned data structure is different between the run when the IP is created and the run it is already present. This pull-request fixes the returned data for the state that the floating IP is present. Please see the output below.
ISSUE TYPE
COMPONENT NAME
community.digitalocean.digital_ocean_floating_ip
ADDITIONAL INFORMATION
The test:
Output when floating IP is created:
Output when floating IP is existing (before the PR):
Output when floating IP is existing (after the PR):