harikrishna-patnala opened a new pull request #30:
URL: https://github.com/apache/cloudstack-terraform-provider/pull/30


   When we try to destroy network/ip resource or complete setup destroy through 
terraform, the operation fails with following error
   
   cloudstack_instance.web: Destruction complete after 11s
   ╷
   │ Error: Error disassociating IP address 
b4b3aca3-57b6-4469-9a8a-19b896898845: Undefined error: 
{"errorcode":530,"errortext":"ip address is used for source nat purposes and 
can not be disassociated."}
   │ 
   
   Problem statement:
   As part of the IP resource destroy, provider tries to dissociate, which is 
not required when the source nat is enabled.
   
   Solution:
   To skip disassociation if source nat is enabled on the IP. As part of this 
sourcenat property has to be added to the terraform state


-- 
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: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to