Unable to create multiple ibm_logs_outgoing_webhook
resources in a for_each loop
#5734
Labels
service/Cloud Logs
Issues related to Cloud Logs
Community Note
Terraform CLI and Terraform IBM Provider Version
tf 1.9.2
ibm provider 1.70.1
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
No error
Actual Behavior
If you try to create more than 1
ibm_logs_outgoing_webhook
resource, you get the error above. It seems like the backend cannot handle the requests in such quick succession.Steps to Reproduce
terraform apply
Important Factoids
If I wait some time, and re-apply - it passes, its definitely a timing issue.
I cannot find any way to add a sleep inside the for_each loop in terraform. It seems its not possible, so perhaps workaround could be added to the provider to retry with a backoff wait.
References
The text was updated successfully, but these errors were encountered: