terraform-provider-rabbitmq icon indicating copy to clipboard operation
terraform-provider-rabbitmq copied to clipboard

Create functions do not retry when there is an error

Open ashinohara opened this issue 6 years ago • 1 comments

Terraform Version

Terraform v0.11.7

Affected Resource(s)

Please list the resources as a list, for example:

  • rabbitmq_vhost
  • rabbitmq_queue
  • rabbitmq_exchange
  • rabbitmq_user
  • rabbitmq_binding

Expected Behavior

If the rabbitmq server is not reachable, terraform should retry until a timeout has elapsed.

Actual Behavior

Terraform halts execution when an error is returned from rabbitmq.

Steps to Reproduce

If you attempt to terraform both the rabbitmq server and the queues, etc. in the same project then the creation of rabbitmq resources will fail until rabbitmq server is up. This is particularly difficult when dealing with things like DNS resolution.

ashinohara avatar Nov 02 '18 20:11 ashinohara

I actully get this same issue but its not from the server not being up as much as the vhost isnt up and you need to set permissions and add a user. So the backend fails with a 400.

cwood avatar Apr 10 '19 21:04 cwood