Skip to content

Commit 526c4de

Browse files
committed
Add missing doc update
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
1 parent e84f075 commit 526c4de

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

docs/resources/repository.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ resource "github_repository" "forked_repo" {
8787
- `template` (Block List, Max: 1) Use a template repository to create this resource.
8888

8989
~> **Note on `internal` visibility with templates**: When creating a repository from a template with `visibility = "internal"`, the provider uses a two-step process due to GitHub API limitations. The template creation API only supports a `private` boolean parameter. Therefore, repositories with `visibility = "internal"` are initially created as private and then immediately updated to internal visibility. This ensures internal repositories are never exposed publicly during creation. (see [below for nested schema](#nestedblock--template))
90-
- `topics` (Set of String) The list of topics of the repository.
90+
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
91+
- `topics` (Set of String, Deprecated) The list of topics of the repository.
9192
- `visibility` (String) Can be 'public' or 'private'. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be 'internal'.
9293
- `vulnerability_alerts` (Boolean, Deprecated) Set to 'true' to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on all repos by default). Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings.
9394
- `web_commit_signoff_required` (Boolean) Require contributors to sign off on web-based commits.
@@ -207,6 +208,17 @@ Optional:
207208

208209
- `include_all_branches` (Boolean) Whether the new repository should include all the branches from the template repository (defaults to 'false', which includes only the default branch from the template).
209210

211+
212+
<a id="nestedblock--timeouts"></a>
213+
### Nested Schema for `timeouts`
214+
215+
Optional:
216+
217+
- `create` (String)
218+
- `delete` (String)
219+
- `read` (String)
220+
- `update` (String)
221+
210222
## Import
211223

212224
Import is supported using the following syntax:

0 commit comments

Comments
 (0)