Skip to content

Commit

Permalink
docs: Add data source examples (#90)
Browse files Browse the repository at this point in the history
* docs: Add data source examples

* docs: Generate
  • Loading branch information
alexluong authored Aug 8, 2024
1 parent c896425 commit 0739e91
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/data-sources/connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ description: |-

Connection Data Source

## Example Usage

```terraform
data "hookdeck_connection" "example" {
id = "<your_connection_id>"
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down
6 changes: 6 additions & 0 deletions docs/data-sources/destination.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ description: |-

Destination Data Source

## Example Usage

```terraform
data "hookdeck_destination" "example" {
id = "<your_destination_id>"
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down
6 changes: 6 additions & 0 deletions docs/data-sources/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ description: |-

Source Data Source

## Example Usage

```terraform
data "hookdeck_source" "example" {
id = "<your_source_id>"
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down
3 changes: 3 additions & 0 deletions examples/data-sources/hookdeck_connection/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "hookdeck_connection" "example" {
id = "<your_connection_id>"
}
3 changes: 3 additions & 0 deletions examples/data-sources/hookdeck_destination/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "hookdeck_destination" "example" {
id = "<your_destination_id>"
}
3 changes: 3 additions & 0 deletions examples/data-sources/hookdeck_source/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "hookdeck_source" "example" {
id = "<your_source_id>"
}

0 comments on commit 0739e91

Please sign in to comment.