Skip to content

Commit b2e8850

Browse files
committed
Updates docs
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
1 parent 43011f2 commit b2e8850

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

docs/resources/branch_default.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,15 @@ The following arguments are supported:
5858
- `branch` - (Required) The branch (e.g. `main`)
5959
- `rename` - (Optional) Indicate if it should rename the branch rather than use an existing branch. Defaults to `false`.
6060

61+
## Attribute Reference
62+
63+
The following attributes are exported:
64+
65+
- `repository_id` - The GitHub repository ID.
66+
6167
## Import
6268

63-
GitHub Branch Defaults can be imported using an ID made up of `repository`, e.g.
69+
GitHub Branch Defaults can be imported using the repository name, e.g.
6470

6571
```shell
6672
terraform import github_branch_default.branch_default my-repo

templates/resources/branch_default.md.tmpl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,15 @@ The following arguments are supported:
3030
- `branch` - (Required) The branch (e.g. `main`)
3131
- `rename` - (Optional) Indicate if it should rename the branch rather than use an existing branch. Defaults to `false`.
3232

33+
## Attribute Reference
34+
35+
The following attributes are exported:
36+
37+
- `repository_id` - The GitHub repository ID.
38+
3339
## Import
3440

35-
GitHub Branch Defaults can be imported using an ID made up of `repository`, e.g.
41+
GitHub Branch Defaults can be imported using the repository name, e.g.
3642

3743
```shell
3844
terraform import github_branch_default.branch_default my-repo

0 commit comments

Comments
 (0)