summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJulien Dessaux2023-08-02 00:25:59 +0200
committerJulien Dessaux2023-08-02 00:25:59 +0200
commitc24cf0f443b3f8a94945d84466ff7b1431956734 (patch)
treeb9ef10be532b3097172441a88ab11d9ba7b7583e /docs
parentImplemented project data source (diff)
downloadterraform-provider-eventline-c24cf0f443b3f8a94945d84466ff7b1431956734.tar.gz
terraform-provider-eventline-c24cf0f443b3f8a94945d84466ff7b1431956734.tar.bz2
terraform-provider-eventline-c24cf0f443b3f8a94945d84466ff7b1431956734.zip
Added identities and jobs datasource usage examples
Diffstat (limited to '')
-rw-r--r--docs/data-sources/identities.md10
-rw-r--r--docs/data-sources/jobs.md10
2 files changed, 20 insertions, 0 deletions
diff --git a/docs/data-sources/identities.md b/docs/data-sources/identities.md
index 57416ff..da4a389 100644
--- a/docs/data-sources/identities.md
+++ b/docs/data-sources/identities.md
@@ -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
diff --git a/docs/data-sources/jobs.md b/docs/data-sources/jobs.md
index 784e37b..ce886fd 100644
--- a/docs/data-sources/jobs.md
+++ b/docs/data-sources/jobs.md
@@ -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