aboutsummaryrefslogtreecommitdiff
path: root/examples/data-sources/eventline_jobs/data-source.tf
diff options
context:
space:
mode:
authorJulien Dessaux2023-08-02 00:25:59 +0200
committerJulien Dessaux2023-08-02 00:25:59 +0200
commitc24cf0f443b3f8a94945d84466ff7b1431956734 (patch)
treeb9ef10be532b3097172441a88ab11d9ba7b7583e /examples/data-sources/eventline_jobs/data-source.tf
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--examples/data-sources/eventline_jobs/data-source.tf7
1 files changed, 7 insertions, 0 deletions
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
+}