Skip to content

Commit

Permalink
migrate provider for arm64 support, use non-deprecated parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
johnB96 committed Mar 7, 2022
1 parent 3d84613 commit 375f3b5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Available targets:

| Name | Type |
|------|------|
| [github_repository_webhook.default](https://registry.terraform.io/providers/hashicorp/github/3.0.0/docs/resources/repository_webhook) | resource |
| [github_repository_webhook.default](https://registry.terraform.io/providers/integrations/github/4.20.1/docs/resources/repository_webhook) | resource |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

| Name | Type |
|------|------|
| [github_repository_webhook.default](https://registry.terraform.io/providers/hashicorp/github/3.0.0/docs/resources/repository_webhook) | resource |
| [github_repository_webhook.default](https://registry.terraform.io/providers/integrations/github/4.20.1/docs/resources/repository_webhook) | resource |

## Inputs

Expand Down
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
provider "github" {
token = var.github_token != "" ? var.github_token : null
organization = var.github_organization
base_url = var.github_base_url
token = var.github_token != "" ? var.github_token : null
owner = var.github_organization
base_url = var.github_base_url
}

resource "github_repository_webhook" "default" {
Expand Down
6 changes: 2 additions & 4 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ terraform {

required_providers {
github = {
source = "hashicorp/github"
# breaking changes both immediately before and after 3.0.0, pin exactly
# until ready to upgrade to integrations/github 4.2 or later
version = "3.0.0"
source = "integrations/github"
version = "4.20.1"
}
local = {
source = "hashicorp/local"
Expand Down

0 comments on commit 375f3b5

Please sign in to comment.