Skip to content

Commit 6167880

Browse files
authored
docs: generate example for server datasource (#790)
1 parent 592425e commit 6167880

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docs/data-sources/server.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@ description: |-
1010

1111
Server datasource schema. Must have a `region` specified in the provider configuration.
1212

13-
13+
## Example Usage
14+
15+
```terraform
16+
data "stackit_server" "example" {
17+
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
18+
server_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
19+
}
20+
```
1421

1522
<!-- schema generated by tfplugindocs -->
1623
## Schema
File renamed without changes.

0 commit comments

Comments
 (0)