Skip to content

Commit

Permalink
fix: Fix deprecation warnings in example projects (#2038)
Browse files Browse the repository at this point in the history
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
  • Loading branch information
zerok and kfcampbell committed Jan 5, 2024
1 parent 7858e45 commit f7058a8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
4 changes: 2 additions & 2 deletions examples/app_installation_repository/providers.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider "github" {
organization = var.organization
token = var.github_token
owner = var.organization
token = var.github_token
}
5 changes: 2 additions & 3 deletions examples/release/providers.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
provider "github" {
version = "2.8.0"
organization = var.organization
token = var.github_token
owner = var.organization
token = var.github_token
}
4 changes: 2 additions & 2 deletions examples/repository_collaborator/providers.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider "github" {
organization = var.organization
token = var.github_token
owner = var.organization
token = var.github_token
}
3 changes: 1 addition & 2 deletions examples/repository_delete_branch_on_merge/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
resource "github_repository" "delete_branch_on_merge" {
name = "delete_branch_on_merge"
description = "A repository with delete-branch-on-merge configured"
default_branch = "main"
visibility = "private"
delete_branch_on_merge = true
}
}
5 changes: 2 additions & 3 deletions examples/repository_delete_branch_on_merge/providers.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
provider "github" {
version = "2.8.0"
organization = var.organization
token = var.github_token
owner = var.organization
token = var.github_token
}

0 comments on commit f7058a8

Please sign in to comment.