From c24cf0f443b3f8a94945d84466ff7b1431956734 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 2 Aug 2023 00:25:59 +0200 Subject: Added identities and jobs datasource usage examples --- examples/data-sources/eventline_identities/data-source.tf | 7 +++++++ examples/data-sources/eventline_jobs/data-source.tf | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 examples/data-sources/eventline_identities/data-source.tf create mode 100644 examples/data-sources/eventline_jobs/data-source.tf (limited to 'examples/data-sources') 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 +} -- cgit v1.2.3