Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,9 @@ resource "github_repository" "repository" {
for_each = local.template

content {
owner = template.value.owner
repository = template.value.repository
owner = template.value.owner
repository = template.value.repository
include_all_branches = template.value.include_all_branches
}
}

Expand Down
5 changes: 3 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,9 @@ variable "extra_topics" {
variable "template" {
description = "(Optional) Template repository to use. (Default: {})"
type = object({
owner = string
repository = string
owner = string
repository = string
include_all_branches = bool
})
default = null
}
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ terraform {
required_providers {
github = {
source = "integrations/github"
version = ">= 4.20, < 6.0"
version = ">= 5.8, < 6.0"
}
}
}