@@ -7,13 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 0.11.0]
11+
1012### BREAKING CHANGES
1113
1214We dropped support for Terraform pre 1.0 and GitHub Terraform Provider pre 4.0.
1315In addition we changed to the ` integrations/github ` official GitHub Terraform Provider.
1416This needs migration actions if you already used this module with the ` hashicorp/github ` provider and want to upgrade.
1517
16- Steps to upgrade will be added prior to the breaking release.
18+ #### Migration from previous versions
19+
20+ To migrate from a previous version, please ensure that you are using the
21+ ` integrations/github ` official GitHub Terraform Provider.
22+
23+
24+ ``` hcl
25+ terraform {
26+ required_version = "~> 1.0"
27+
28+ required_providers {
29+ github = {
30+ source = "integrations/github"
31+ version = "~> 4.0"
32+ }
33+ }
34+ }
35+ ```
36+
37+ Once you've updated the provider, a manual state migration is required to
38+ migrate existing resources to the new provider.
39+ The following command will replace the provider in the state.
40+
41+ ``` bash
42+ terraform state replace-provider registry.terraform.io/hashicorp/github registry.terraform.io/integrations/github
43+ ```
44+
45+ After you've migrated the state, please run
46+ ` terraform init ` to apply the changes to the resources.
1747
1848### Added
1949
@@ -294,11 +324,12 @@ Please review plans and report regressions and issues asap so we can improve doc
294324
295325<!-- markdown-link-check-disable -->
296326
297- [ unreleased ] : https://github.com/mineiros-io/terraform-github-repository/compare/v0.10.1 ...HEAD
298- [ 0.10.1 ] : https://github.com/mineiros-io/terraform-github-repository/compare/v0.10.0 ...v0.10.1
327+ [ unreleased ] : https://github.com/mineiros-io/terraform-github-repository/compare/v0.11.0 ...HEAD
328+ [ 0.11.0 ] : https://github.com/mineiros-io/terraform-github-repository/compare/v0.10.1 ...v0.11.0
299329
300330<!-- markdown-link-check-enable -->
301331
332+ [ 0.10.1 ] : https://github.com/mineiros-io/terraform-github-repository/compare/v0.10.0...v0.10.1
302333[ 0.10.0 ] : https://github.com/mineiros-io/terraform-github-repository/compare/v0.9.2...v0.10.0
303334[ 0.9.2 ] : https://github.com/mineiros-io/terraform-github-repository/compare/v0.9.1...v0.9.2
304335[ 0.9.1 ] : https://github.com/mineiros-io/terraform-github-repository/compare/v0.9.0...v0.9.1
0 commit comments