diff options
-rw-r--r-- | docs/data-sources/identities.md | 10 | ||||
-rw-r--r-- | docs/data-sources/jobs.md | 10 | ||||
-rw-r--r-- | examples/data-sources/eventline_identities/data-source.tf | 7 | ||||
-rw-r--r-- | examples/data-sources/eventline_jobs/data-source.tf | 7 |
4 files changed, 34 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 diff --git a/examples/data-sources/eventline_identities/data-source.tf b/examples/data-sources/eventline_identities/data-source.tf new file mode 100644 index 0000000..1ffab97 --- /dev/null +++ b/examples/data-sources/eventline_identities/data-source.tf @@ -0,0 +1,7 @@ +data "project" "main" { + name = "main" +} + +data "eventline_identities" "example" { + project_id = data.project.main.id +} diff --git a/examples/data-sources/eventline_jobs/data-source.tf b/examples/data-sources/eventline_jobs/data-source.tf new file mode 100644 index 0000000..5420d3b --- /dev/null +++ b/examples/data-sources/eventline_jobs/data-source.tf @@ -0,0 +1,7 @@ +data "project" "main" { + name = "main" +} + +data "eventline_jobs" "example" { + project_id = data.project.main.id +} |