diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7549e95ee..ed0724bf6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- [#996](https://github.com/XenitAB/terraform-modules/pull/996) Rename Datadog agent.
- [#992](https://github.com/XenitAB/terraform-modules/pull/992) Add AKS cluster principal_id to aksmsi group.
- [#997](https://github.com/XenitAB/terraform-modules/pull/997) Add health checks to Datadog.
+- [#998](https://github.com/XenitAB/terraform-modules/pull/998) Update GitHub Terraform provider to 5.28.0.
## 2023.06.3
diff --git a/modules/kubernetes/aks-core/README.md b/modules/kubernetes/aks-core/README.md
index 9cb5e7bb9..958897371 100644
--- a/modules/kubernetes/aks-core/README.md
+++ b/modules/kubernetes/aks-core/README.md
@@ -10,7 +10,7 @@ This module is used to create AKS clusters.
| [azuread](#requirement\_azuread) | 2.28.1 |
| [azurerm](#requirement\_azurerm) | 3.57.0 |
| [flux](#requirement\_flux) | 0.25.3 |
-| [github](#requirement\_github) | 4.21.0 |
+| [github](#requirement\_github) | 5.28.0 |
| [helm](#requirement\_helm) | 2.6.0 |
| [kubectl](#requirement\_kubectl) | 1.14.0 |
| [kubernetes](#requirement\_kubernetes) | 2.13.1 |
diff --git a/modules/kubernetes/aks-core/main.tf b/modules/kubernetes/aks-core/main.tf
index 31abe0995..0d4ad1539 100644
--- a/modules/kubernetes/aks-core/main.tf
+++ b/modules/kubernetes/aks-core/main.tf
@@ -26,7 +26,7 @@ terraform {
}
github = {
source = "integrations/github"
- version = "4.21.0"
+ version = "5.28.0"
}
flux = {
source = "fluxcd/flux"
diff --git a/modules/kubernetes/eks-core/README.md b/modules/kubernetes/eks-core/README.md
index ac91e4f4b..9d2507dc4 100644
--- a/modules/kubernetes/eks-core/README.md
+++ b/modules/kubernetes/eks-core/README.md
@@ -9,7 +9,7 @@ This module is used to configure EKS clusters.
| [terraform](#requirement\_terraform) | >= 1.3.0 |
| [aws](#requirement\_aws) | 4.31.0 |
| [flux](#requirement\_flux) | 0.25.3 |
-| [github](#requirement\_github) | 4.21.0 |
+| [github](#requirement\_github) | 5.28.0 |
| [helm](#requirement\_helm) | 2.6.0 |
| [kubectl](#requirement\_kubectl) | 1.14.0 |
| [kubernetes](#requirement\_kubernetes) | 2.13.1 |
diff --git a/modules/kubernetes/eks-core/main.tf b/modules/kubernetes/eks-core/main.tf
index 0b2b19bba..177f47b3b 100644
--- a/modules/kubernetes/eks-core/main.tf
+++ b/modules/kubernetes/eks-core/main.tf
@@ -22,7 +22,7 @@ terraform {
}
github = {
source = "integrations/github"
- version = "4.21.0"
+ version = "5.28.0"
}
flux = {
source = "fluxcd/flux"
diff --git a/modules/kubernetes/fluxcd-v2-github/README.md b/modules/kubernetes/fluxcd-v2-github/README.md
index bac978fc8..ca68e0874 100644
--- a/modules/kubernetes/fluxcd-v2-github/README.md
+++ b/modules/kubernetes/fluxcd-v2-github/README.md
@@ -19,7 +19,7 @@ the bootstrap configuration.
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.3.0 |
| [flux](#requirement\_flux) | 0.25.3 |
-| [github](#requirement\_github) | 4.21.0 |
+| [github](#requirement\_github) | 5.28.0 |
| [helm](#requirement\_helm) | 2.6.0 |
| [kubectl](#requirement\_kubectl) | 1.14.0 |
| [kubernetes](#requirement\_kubernetes) | 2.13.1 |
@@ -29,7 +29,7 @@ the bootstrap configuration.
| Name | Version |
|------|---------|
| [flux](#provider\_flux) | 0.25.3 |
-| [github](#provider\_github) | 4.21.0 |
+| [github](#provider\_github) | 5.28.0 |
| [helm](#provider\_helm) | 2.6.0 |
| [kubectl](#provider\_kubectl) | 1.14.0 |
| [kubernetes](#provider\_kubernetes) | 2.13.1 |
@@ -42,18 +42,18 @@ No modules.
| Name | Type |
|------|------|
-| [github_repository_file.cluster_tenants](https://registry.terraform.io/providers/integrations/github/4.21.0/docs/resources/repository_file) | resource |
-| [github_repository_file.install](https://registry.terraform.io/providers/integrations/github/4.21.0/docs/resources/repository_file) | resource |
-| [github_repository_file.kustomize](https://registry.terraform.io/providers/integrations/github/4.21.0/docs/resources/repository_file) | resource |
-| [github_repository_file.sync](https://registry.terraform.io/providers/integrations/github/4.21.0/docs/resources/repository_file) | resource |
-| [github_repository_file.tenant](https://registry.terraform.io/providers/integrations/github/4.21.0/docs/resources/repository_file) | resource |
+| [github_repository_file.cluster_tenants](https://registry.terraform.io/providers/integrations/github/5.28.0/docs/resources/repository_file) | resource |
+| [github_repository_file.install](https://registry.terraform.io/providers/integrations/github/5.28.0/docs/resources/repository_file) | resource |
+| [github_repository_file.kustomize](https://registry.terraform.io/providers/integrations/github/5.28.0/docs/resources/repository_file) | resource |
+| [github_repository_file.sync](https://registry.terraform.io/providers/integrations/github/5.28.0/docs/resources/repository_file) | resource |
+| [github_repository_file.tenant](https://registry.terraform.io/providers/integrations/github/5.28.0/docs/resources/repository_file) | resource |
| [helm_release.git_auth_proxy](https://registry.terraform.io/providers/hashicorp/helm/2.6.0/docs/resources/release) | resource |
| [kubectl_manifest.install](https://registry.terraform.io/providers/gavinbunney/kubectl/1.14.0/docs/resources/manifest) | resource |
| [kubectl_manifest.sync](https://registry.terraform.io/providers/gavinbunney/kubectl/1.14.0/docs/resources/manifest) | resource |
| [kubernetes_namespace.this](https://registry.terraform.io/providers/hashicorp/kubernetes/2.13.1/docs/resources/namespace) | resource |
| [flux_install.this](https://registry.terraform.io/providers/fluxcd/flux/0.25.3/docs/data-sources/install) | data source |
| [flux_sync.this](https://registry.terraform.io/providers/fluxcd/flux/0.25.3/docs/data-sources/sync) | data source |
-| [github_repository.cluster](https://registry.terraform.io/providers/integrations/github/4.21.0/docs/data-sources/repository) | data source |
+| [github_repository.cluster](https://registry.terraform.io/providers/integrations/github/5.28.0/docs/data-sources/repository) | data source |
| [kubectl_file_documents.install](https://registry.terraform.io/providers/gavinbunney/kubectl/1.14.0/docs/data-sources/file_documents) | data source |
| [kubectl_file_documents.sync](https://registry.terraform.io/providers/gavinbunney/kubectl/1.14.0/docs/data-sources/file_documents) | data source |
diff --git a/modules/kubernetes/fluxcd-v2-github/main.tf b/modules/kubernetes/fluxcd-v2-github/main.tf
index d65b067ee..320053965 100644
--- a/modules/kubernetes/fluxcd-v2-github/main.tf
+++ b/modules/kubernetes/fluxcd-v2-github/main.tf
@@ -33,7 +33,7 @@ terraform {
}
github = {
source = "integrations/github"
- version = "4.21.0"
+ version = "5.28.0"
}
kubectl = {
source = "gavinbunney/kubectl"