Skip to content

Commit

Permalink
Merge pull request #50 from mineiros-io/soerenmartius/prepare-v0.7.0-…
Browse files Browse the repository at this point in the history
…release

Prepare v0.7.0 release
  • Loading branch information
soerenmartius authored Nov 23, 2021
2 parents a331653 + c283c59 commit b31dec0
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 7 deletions.
37 changes: 34 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.7.0]

### BREAKING CHANGES

We dropped support for Terraform pre 1.0 and GitHub Terraform Provider pre 4.0.
In addition we changed to the `integrations/github` official GitHub Terraform Provider.
This needs migration actions if you already used this module with the `hashicorp/github` provider and want to upgrade.

Steps to upgrade will be added prior to the breaking release.
#### Migration from previous versions

To migrate from a previous version, please ensure that you are using the
`integrations/github` official GitHub Terraform Provider.


``` hcl
terraform {
required_version = "~> 1.0"
required_providers {
github = {
source = "integrations/github"
version = "~> 4.0"
}
}
}
```

Once you've updated the provider, a manual state migration is required to
migrate existing resources to the new provider.
The following command will replace the provider in the state.

``` bash
terraform state replace-provider registry.terraform.io/hashicorp/github registry.terraform.io/integrations/github
```

After you've migrated the state, please run
`terrafrm init` to apply the changes to the resources.

### Added

Expand Down Expand Up @@ -130,11 +160,12 @@ Steps to upgrade will be added prior to the breaking release.

<!-- markdown-link-check-disable -->

[unreleased]: https://github.com/mineiros-io/terraform-github-team/compare/v0.6.0...HEAD
[0.6.0]: https://github.com/mineiros-io/terraform-github-team/compare/v0.5.2...v0.6.0
[unreleased]: https://github.com/mineiros-io/terraform-github-team/compare/v0.7.0...HEAD
[0.7.0]: https://github.com/mineiros-io/terraform-github-team/compare/v0.6.0...v0.7.0

<!-- markdown-link-check-enable -->

[0.6.0]: https://github.com/mineiros-io/terraform-github-team/compare/v0.5.2...v0.6.0
[0.5.2]: https://github.com/mineiros-io/terraform-github-team/compare/v0.5.1...v0.5.2
[0.5.1]: https://github.com/mineiros-io/terraform-github-team/compare/v0.5.0...v0.5.1
[0.5.0]: https://github.com/mineiros-io/terraform-github-team/compare/v0.4.0...v0.5.0
Expand Down
4 changes: 2 additions & 2 deletions examples/github-team/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ and push permissions to the other.
```hcl
module "team" {
source = "mineiros-io/team/github"
version = "~> 0.6.0"
version = "~> 0.7.0"
name = "Engineering"
description = "This team is created with terraform to test the terraformn-github-repository module."
Expand All @@ -39,7 +39,7 @@ module "team" {
module "child_team" {
source = "mineiros-io/team/github"
version = "~> 0.5.0"
version = "~> 0.7.0"
name = "DevOps"
parent_team_id = module.team.id
Expand Down
4 changes: 2 additions & 2 deletions examples/github-team/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ resource "github_repository" "another_repository" {

module "team" {
source = "mineiros-io/team/github"
version = "~> 0.6.0"
version = "~> 0.7.0"

name = "Engineering"
description = "This team is created with terraform to test the terraformn-github-repository module."
Expand All @@ -55,7 +55,7 @@ module "team" {

module "child_team" {
source = "mineiros-io/team/github"
version = "~> 0.6.0"
version = "~> 0.7.0"

name = "DevOps"
parent_team_id = module.team.id
Expand Down

0 comments on commit b31dec0

Please sign in to comment.