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

Connection is shutdown when running terraform plan

Open uberspot opened this issue 6 years ago • 1 comments

Hi, we use this provider to manage bitbucket repos for our Org. This worked previously but lately when we add more repos it crashes when doing terraform plan. It seems like we reach the bitbucket api throttling limit? For each repo we set default reviewers and 3-5 webhooks. I assume there is a request per webhook when planning/applying?

terraform -v: = 0.11.7

Panic Output

https://gist.github.com/uberspot/dddefe5842cf46305fffd58f47c93f1c#file-terraform_crash-txt

Expected Behavior

Creates one more bitbucket repository with proper webhooks etc.

Actual Behavior

Connection is refused for all modules when we run plan (after adding one extra module for one extra repo).

Steps to Reproduce

We're not sure because it is not 100% reproducible by us. If we wait long enough it might work. :/

Important Factoids

We use the bitbucket cloud api with bitbucket terraform provider.

uberspot avatar Apr 24 '18 11:04 uberspot