You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that if I create a floating IP in DigitalOcean via Terraform, and then manually/externally alter it (I've been doing it via the DO web UI), Terraform does not see the change and put the floating IP back into place.
Terraform Version
$ terraform -v
Terraform v0.6.16
Affected Resource(s)
digitalocean_droplet
digitalocean_floating_ip
This doesn't strictly effect digitalocean_droplet, but I figure it's worth mentioning as I'm obviously attaching the FIP to a specific Droplet.
Terraform Configuration Files
This configuration (which I'm using inside of a module) is sufficient to replicate the issue:
I would expect the DigitalOcean provider to see the floating IP is not pointed at the resource it is in the Terraform code, and readjust it accordingly.
Actual Behavior
Terraform does not see the change and reports everything as working OK.
Steps to Reproduce
terraform apply
Use the DO API or web UI to reassign the floating to another box;
terraform plan or terraform apply
You should see that Terraform does not recognise the change.
The text was updated successfully, but these errors were encountered:
Fixes#6673
When a floating IP is changed in the DO console, this PR will allow it
to be reassociated to the machine that Terraform attached it to and
change it back
Fixes#6673
When a floating IP is changed in the DO console, this PR will allow it
to be reassociated to the machine that Terraform attached it to and
change it back
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Hey,
IP addresses included in this report aren't live
I've noticed that if I create a floating IP in DigitalOcean via Terraform, and then manually/externally alter it (I've been doing it via the DO web UI), Terraform does not see the change and put the floating IP back into place.
Terraform Version
Affected Resource(s)
This doesn't strictly effect
digitalocean_droplet
, but I figure it's worth mentioning as I'm obviously attaching the FIP to a specific Droplet.Terraform Configuration Files
This configuration (which I'm using inside of a module) is sufficient to replicate the issue:
Debug Output
https://gist.github.com/mrcrilly/ee9e487f0bda4a64042e4c1ca635f493
Expected Behavior
I would expect the DigitalOcean provider to see the floating IP is not pointed at the resource it is in the Terraform code, and readjust it accordingly.
Actual Behavior
Terraform does not see the change and reports everything as working OK.
Steps to Reproduce
terraform apply
terraform plan
orterraform apply
You should see that Terraform does not recognise the change.
The text was updated successfully, but these errors were encountered: