We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 736d802 commit 9862efbCopy full SHA for 9862efb
repository/main.tf
@@ -32,6 +32,7 @@ resource "github_repository" "this" {
32
allow_update_branch = true
33
allow_forking = var.private ? false : true
34
topics = var.topics
35
+ is_template = var.is_template
36
dynamic "pages" {
37
for_each = var.pages_url != null ? [1] : []
38
content {
repository/variables.tf
@@ -84,3 +84,9 @@ variable "dev_team_id" {
84
type = string
85
default = null
86
}
87
+
88
+variable "is_template" {
89
+ description = "Set to `true` to make this repository available as a template repository"
90
+ type = bool
91
+ default = false
92
+}
0 commit comments