diff --git a/README.md b/README.md index fd42a1f..b5f602a 100644 --- a/README.md +++ b/README.md @@ -17,13 +17,13 @@ This repository contains modules for deploying and managing GitHub repositories. | Name | Version | |---------------------------------------------------------------------------|------------| | [terraform](#requirement\_terraform) | >= 0.12.26 | -| [github](#requirement\_github) | >= 5.7.0 | +| [github](#requirement\_github) | >= 5.12.0 | ## Providers -| Name | Version | -|------------------------------------------------------------|----------| -| [github](#provider\_github) | >= 5.7.0 | +| Name | Version | +|------------------------------------------------------------|-----------| +| [github](#provider\_github) | >= 5.12.0 | ## Modules diff --git a/examples/repository/example.tf b/examples/repository/example.tf index e0310a2..f95b8bf 100644 --- a/examples/repository/example.tf +++ b/examples/repository/example.tf @@ -4,7 +4,7 @@ terraform { required_providers { github = { source = "integrations/github" - version = ">= 5.7.0" + version = ">= 5.12.0" } } } @@ -19,11 +19,11 @@ module "github_repository" { name = "terratest-example-repository" description = "An example repository used for testing Terraform-based deployments of a GitHub repository." - read_teams = [ + pull_teams = [ "infrastructure-reviewers" ] - write_teams = [ + push_teams = [ "devops-reviewers" ] diff --git a/main.tf b/main.tf index 464edfb..4acd07b 100644 --- a/main.tf +++ b/main.tf @@ -8,7 +8,7 @@ terraform { required_providers { github = { source = "integrations/github" - version = ">= 5.7.0" + version = ">= 5.12.0" } } } diff --git a/modules/repository-collaborator/README.md b/modules/repository-collaborator/README.md index f492159..d5b2dd2 100644 --- a/modules/repository-collaborator/README.md +++ b/modules/repository-collaborator/README.md @@ -5,13 +5,13 @@ | Name | Version | |---------------------------------------------------------------------------|------------| | [terraform](#requirement\_terraform) | >= 0.12.26 | -| [github](#requirement\_github) | >= 5.7.0 | +| [github](#requirement\_github) | >= 5.12.0 | ## Providers -| Name | Version | -|------------------------------------------------------------|----------| -| [github](#provider\_github) | >= 5.7.0 | +| Name | Version | +|------------------------------------------------------------|-----------| +| [github](#provider\_github) | >= 5.12.0 | ## Resources diff --git a/modules/repository-collaborator/main.tf b/modules/repository-collaborator/main.tf index 9a581d9..56220b3 100644 --- a/modules/repository-collaborator/main.tf +++ b/modules/repository-collaborator/main.tf @@ -8,7 +8,7 @@ terraform { required_providers { github = { source = "integrations/github" - version = ">= 5.7.0" + version = ">= 5.12.0" } } } diff --git a/modules/team-repository/README.md b/modules/team-repository/README.md index bc19f60..906c097 100644 --- a/modules/team-repository/README.md +++ b/modules/team-repository/README.md @@ -5,13 +5,13 @@ | Name | Version | |---------------------------------------------------------------------------|------------| | [terraform](#requirement\_terraform) | >= 0.12.26 | -| [github](#requirement\_github) | >= 5.7.0 | +| [github](#requirement\_github) | >= 5.12.0 | ## Providers -| Name | Version | -|------------------------------------------------------------|----------| -| [github](#provider\_github) | >= 5.7.0 | +| Name | Version | +|------------------------------------------------------------|-----------| +| [github](#provider\_github) | >= 5.12.0 | ## Resources diff --git a/modules/team-repository/main.tf b/modules/team-repository/main.tf index 408c1da..626c4ba 100644 --- a/modules/team-repository/main.tf +++ b/modules/team-repository/main.tf @@ -8,7 +8,7 @@ terraform { required_providers { github = { source = "integrations/github" - version = ">= 5.7.0" + version = ">= 5.12.0" } } }