diff --git a/docs/resources/repository.md b/docs/resources/repository.md index 58aede34a6..8df2e5c199 100644 --- a/docs/resources/repository.md +++ b/docs/resources/repository.md @@ -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. diff --git a/templates/resources/repository.md.tmpl b/templates/resources/repository.md.tmpl index 5b2cd371f2..6bc70d17bf 100644 --- a/templates/resources/repository.md.tmpl +++ b/templates/resources/repository.md.tmpl @@ -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.