Skip to content

Commit 23e908f

Browse files
committed
GitHub throttling
1 parent 5a00eab commit 23e908f

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

alz/github/terraform.tf

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ terraform {
1111
}
1212
github = {
1313
source = "integrations/github"
14-
version = "~> 6.8.1"
14+
version = "~> 6.8"
1515
}
1616
random = {
1717
source = "hashicorp/random"
@@ -38,7 +38,10 @@ provider "azurerm" {
3838
}
3939

4040
provider "github" {
41-
token = var.github_personal_access_token
42-
owner = var.github_organization_name
43-
base_url = local.github_api_base_url
41+
token = var.github_personal_access_token
42+
owner = var.github_organization_name
43+
base_url = local.github_api_base_url
44+
parallel_requests = true
45+
retryable_errors = [500, 502, 503, 504, 429, 409]
46+
max_retries = 50
4447
}

modules/github/terraform.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
github = {
44
source = "integrations/github"
5-
version = "6.8.1"
5+
version = "6.8.3"
66
}
77
}
88
}

0 commit comments

Comments
 (0)