sudo87 opened a new pull request, #331:
URL: https://github.com/apache/cloudstack-terraform-provider/pull/331

   resourceCloudStackIPAddressDelete skipped the disassociate call entirely 
when is_source_nat was true and returned nil, so Terraform reported the 
resource destroyed while CloudStack left the IP allocated. Always call 
DisassociateIpAddress and propagate whatever CloudStack returns instead of 
swallowing it, matching every other error path in this file.
   
   Verified against a live 4.23.0.0 lab: against an implemented network with a 
running virtual router, CloudStack now correctly rejects the destroy (error 
530, IP still in use for source NAT) instead of Terraform falsely reporting 
success; against a network that was never implemented, the disassociate 
genuinely succeeds and is now reported accurately.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to