Skip to content

Commit

Permalink
Update github provider version. (#325)
Browse files Browse the repository at this point in the history
* Update github provider version.

In addition to updating this provider version I have also run

    terraform state replace-provider hashicorp/github integrations/github

in order to move all state to the canonical provider. This also protects from unintentional provider version mismatch.

* Set provider in the release team module as well.

Without this resources created in the module will implicitly use the
hashicorp provider without a version restriction.
  • Loading branch information
nuclearsandwich authored Oct 7, 2023
1 parent ba9f84b commit 1bf402a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 00-provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
github = {
source = "integrations/github"
version = "4.19.2"
version = "5.34.0"
}
}
}
9 changes: 9 additions & 0 deletions modules/release_team/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
terraform {
required_providers {
github = {
source = "integrations/github"
version = "5.34.0"
}
}
}

resource "github_team" "release_team" {
name = var.team_name
description = "ROS release managers for the ${var.team_name} project"
Expand Down

0 comments on commit 1bf402a

Please sign in to comment.