Skip to content

Commit 31dcbc7

Browse files
authored
Merge pull request #63 from mineiros-io/mariux/5.x
feat: Add support for Terraform GitHub Provider version 5.x
2 parents 0c53808 + 9fdb894 commit 31dcbc7

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

CHANGELOG.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
### Changed
10+
## [0.9.0]
11+
12+
### Added
1113

12-
- Update build tools, GitHub Actions and pre-commit hooks from template
14+
- Add support for Terraform GitHub Provider version `5.x`
1315

1416
## [0.8.0]
1517

@@ -34,8 +36,7 @@ This needs migration actions if you already used this module with the `hashicorp
3436
To migrate from a previous version, please ensure that you are using the
3537
`integrations/github` official GitHub Terraform Provider.
3638

37-
38-
``` hcl
39+
```hcl
3940
terraform {
4041
required_version = "~> 1.0"
4142
@@ -52,7 +53,7 @@ Once you've updated the provider, a manual state migration is required to
5253
migrate existing resources to the new provider.
5354
The following command will replace the provider in the state.
5455

55-
``` bash
56+
```bash
5657
terraform state replace-provider registry.terraform.io/hashicorp/github registry.terraform.io/integrations/github
5758
```
5859

@@ -172,7 +173,8 @@ After you've migrated the state, please run
172173
- This is the initial release of our terraform-github-team module that supports
173174
Team, Nested Team, Memberships, Team Repositories.
174175

175-
[unreleased]: https://github.com/mineiros-io/terraform-github-team/compare/v0.8.0...HEAD
176+
[unreleased]: https://github.com/mineiros-io/terraform-github-team/compare/v0.9.0...HEAD
177+
[0.9.0]: https://github.com/mineiros-io/terraform-github-team/compare/v0.8.0...v0.9.0
176178
[0.8.0]: https://github.com/mineiros-io/terraform-github-team/compare/v0.7.0...v0.8.0
177179
[0.7.0]: https://github.com/mineiros-io/terraform-github-team/compare/v0.6.0...v0.7.0
178180
[0.6.0]: https://github.com/mineiros-io/terraform-github-team/compare/v0.5.2...v0.6.0

test/public-repositories-with-team/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terraform {
66
required_providers {
77
github = {
88
source = "integrations/github"
9-
version = "~> 4.0"
9+
version = "~> 5.0"
1010
}
1111
}
1212
}

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ terraform {
88
required_providers {
99
github = {
1010
source = "integrations/github"
11-
version = "~> 4.0"
11+
version = ">= 4.0, < 6.0"
1212
}
1313
}
1414
}

0 commit comments

Comments
 (0)