Added identities and jobs datasource usage examples
This commit is contained in:
parent
269963bc8f
commit
c24cf0f443
4 changed files with 34 additions and 0 deletions
|
@ -10,7 +10,17 @@ description: |-
|
|||
|
||||
Eventline identities data source
|
||||
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
data "project" "main" {
|
||||
name = "main"
|
||||
}
|
||||
|
||||
data "eventline_identities" "example" {
|
||||
project_id = data.project.main.id
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
|
|
@ -10,7 +10,17 @@ description: |-
|
|||
|
||||
Use this data source to retrieve information about existing eventline jobs.
|
||||
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
data "project" "main" {
|
||||
name = "main"
|
||||
}
|
||||
|
||||
data "eventline_jobs" "example" {
|
||||
project_id = data.project.main.id
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
data "project" "main" {
|
||||
name = "main"
|
||||
}
|
||||
|
||||
data "eventline_identities" "example" {
|
||||
project_id = data.project.main.id
|
||||
}
|
7
examples/data-sources/eventline_jobs/data-source.tf
Normal file
7
examples/data-sources/eventline_jobs/data-source.tf
Normal file
|
@ -0,0 +1,7 @@
|
|||
data "project" "main" {
|
||||
name = "main"
|
||||
}
|
||||
|
||||
data "eventline_jobs" "example" {
|
||||
project_id = data.project.main.id
|
||||
}
|
Loading…
Add table
Reference in a new issue