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
Creating load balancers then updating those load balancers with new cert/key fails during terraform apply trying to delete the target pool before deleting the forwarding rule bound to it.
If I create the load balancers then update the load balancers, it tries to recreate the target pool resource instead of updating the firewall resource because SESSION_AFFINITY gets set to a blank string.
The text was updated successfully, but these errors were encountered:
genevieve
changed the title
AWS/GCP: subsequent terraform apply fails with resourceInUseByAnotherResource
AWS/GCP: terraform plan for updating lbs cert/key sets SESSION_AFFINITY to blank string
May 23, 2017
genevieve
changed the title
AWS/GCP: terraform plan for updating lbs cert/key sets SESSION_AFFINITY to blank string
GCP: terraform plan for updating lbs cert/key sets SESSION_AFFINITY to blank string
May 23, 2017
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.
ghost
locked and limited conversation to collaborators
Apr 12, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Creating load balancers then updating those load balancers with new cert/key fails during terraform apply trying to delete the target pool before deleting the forwarding rule bound to it.
Terraform Version
0.9.4 or 0.9.5
Affected Resource(s)
Terraform Configuration Files
Debug Output
The target_pool resource cannot be deleted because it is already being used by the forwarding rule (resourceInUseByAnotherResource).
Expected Behavior
The terraform apply should have successfully completed updating the load balancers with the new cert/key.
The expected terraform plan for updating load balancers
Actual Behavior
It failed with resourceInUseByAnotherResource. This has been happening for the past 2-3 days.
The breaking terraform plan to update load balancers
It looks like the session_affinity is being set to a blank string and forcing a new resource
The successful terraform plan to delete load balancers
Summary:
If I create the load balancers then update the load balancers, it tries to recreate the target pool resource instead of updating the firewall resource because
SESSION_AFFINITY
gets set to a blank string.The text was updated successfully, but these errors were encountered: