Skip to content

Commit 1ba8870

Browse files
committed
fix: revert defaults to what they were previously
1 parent 7b65595 commit 1ba8870

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

variables.tf

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,55 +66,55 @@ variable "visibility" {
6666
variable "has_issues" {
6767
description = "(Optional) Set to true to enable the GitHub Issues features on the repository. (Default: false)"
6868
type = bool
69-
default = false
69+
default = null
7070
}
7171

7272
variable "has_projects" {
7373
description = "(Optional) Set to true to enable the GitHub Projects features on the repository. Per the github documentation when in an organization that has disabled repository projects it will default to false and will otherwise default to true. If you specify true when it has been disabled it will return an error. (Default: false)"
7474
type = bool
75-
default = false
75+
default = null
7676
}
7777

7878
variable "has_wiki" {
7979
description = "(Optional) Set to true to enable the GitHub Wiki features on the repository. (Default: false)"
8080
type = bool
81-
default = false
81+
default = null
8282
}
8383

8484
variable "allow_merge_commit" {
8585
description = "(Optional) Set to false to disable merge commits on the repository. (Default: true)"
8686
type = bool
87-
default = true
87+
default = null
8888
}
8989

9090
variable "allow_squash_merge" {
9191
description = "(Optional) Set to true to enable squash merges on the repository. (Default: false)"
9292
type = bool
93-
default = false
93+
default = null
9494
}
9595

9696
variable "allow_rebase_merge" {
9797
description = "(Optional) Set to true to enable rebase merges on the repository. (Default: false)"
9898
type = bool
99-
default = false
99+
default = null
100100
}
101101

102102
variable "delete_branch_on_merge" {
103103
description = "(Optional) Whether or not to delete the merged branch after merging a pull request. (Default: false)"
104104
type = bool
105-
default = false
105+
default = null
106106
}
107107

108108
variable "has_downloads" {
109109
description = "(Optional) Set to true to enable the (deprecated) downloads features on the repository. (Default: false)"
110110
type = bool
111-
default = false
111+
default = null
112112
}
113113

114114
variable "auto_init" {
115115
description = "(Optional) Wether or not to produce an initial commit in the repository. (Default: true)"
116116
type = bool
117-
default = true
117+
default = null
118118
}
119119

120120
variable "pages" {
@@ -137,7 +137,7 @@ variable "gitignore_template" {
137137
variable "is_template" {
138138
description = "(Optional) Whether or not to tell GitHub that this is a template repository. ( Default: false)"
139139
type = bool
140-
default = false
140+
default = null
141141
}
142142

143143
variable "license_template" {
@@ -161,7 +161,7 @@ variable "archived" {
161161
variable "topics" {
162162
description = "(Optional) The list of topics of the repository. (Default: [])"
163163
type = list(string)
164-
default = []
164+
default = null
165165
}
166166

167167
variable "extra_topics" {

0 commit comments

Comments
 (0)