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
2 changes: 1 addition & 1 deletion docs/resources/repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ The following arguments are supported:

- `default_branch` - (Optional) (Deprecated: Use `github_branch_default` resource instead) The name of the default branch of the repository. **NOTE:** This can only be set after a repository has already been created, and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the initial repository creation and create the target branch inside of the repository prior to setting this attribute.

- `archived` - (Optional) Specifies if the repository should be archived. Defaults to `false`. **NOTE** Currently, the API does not support unarchiving.
- `archived` - (Optional) Specifies if the repository should be archived. Defaults to `false`.

- `archive_on_destroy` - (Optional) Set to `true` to archive the repository instead of deleting on destroy.

Expand Down
2 changes: 1 addition & 1 deletion templates/resources/repository.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ The following arguments are supported:

- `default_branch` - (Optional) (Deprecated: Use `github_branch_default` resource instead) The name of the default branch of the repository. **NOTE:** This can only be set after a repository has already been created, and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the initial repository creation and create the target branch inside of the repository prior to setting this attribute.

- `archived` - (Optional) Specifies if the repository should be archived. Defaults to `false`. **NOTE** Currently, the API does not support unarchiving.
- `archived` - (Optional) Specifies if the repository should be archived. Defaults to `false`.

- `archive_on_destroy` - (Optional) Set to `true` to archive the repository instead of deleting on destroy.

Expand Down