Skip to content

Commit 42beb1b

Browse files
committed
Updates docs
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
1 parent 76e4f2d commit 42beb1b

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

website/docs/r/repository_vulnerability_alerts.html.markdown

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ resource "github_repository" "example" {
2121
}
2222
2323
resource "github_repository_vulnerability_alerts" "example" {
24-
repository = github_repository.example.name
25-
enabled = true
24+
repository = github_repository.example.name
25+
enabled = true
2626
}
2727
```
2828

@@ -34,6 +34,12 @@ The following arguments are supported:
3434

3535
- `enabled` - (Optional) Whether vulnerability alerts are enabled for the repository. Defaults to `true`.
3636

37+
## Attribute Reference
38+
39+
In addition to the above arguments, the following attributes are exported:
40+
41+
- `repository_id` - The ID of the repository.
42+
3743
## Import
3844

3945
Repository vulnerability alerts can be imported using the `repository_name`:

0 commit comments

Comments
 (0)