summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJulien Dessaux2023-09-24 01:24:42 +0200
committerJulien Dessaux2023-09-24 01:24:42 +0200
commit6302c173a83dbec5b43ce4fe036dafc7c5cbde41 (patch)
tree2e6b58cb36de24d1823c2f1c259116864b989526 /examples
parentAdd identity resource (diff)
downloadterraform-provider-eventline-0.1.0.tar.gz
terraform-provider-eventline-0.1.0.tar.bz2
terraform-provider-eventline-0.1.0.zip
Fixed various documentation entriesv0.1.0
Diffstat (limited to 'examples')
-rw-r--r--examples/data-sources/eventline_identities/data-source.tf2
-rw-r--r--examples/data-sources/eventline_jobs/data-source.tf2
-rw-r--r--examples/data-sources/eventline_project/data-source.tf2
-rw-r--r--examples/data-sources/eventline_projects/data-source.tf2
-rw-r--r--examples/resources/eventline_project/import.sh2
-rw-r--r--examples/resources/eventline_project/resource.tf2
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/data-sources/eventline_identities/data-source.tf b/examples/data-sources/eventline_identities/data-source.tf
index 1ffab97..7e14833 100644
--- a/examples/data-sources/eventline_identities/data-source.tf
+++ b/examples/data-sources/eventline_identities/data-source.tf
@@ -1,4 +1,4 @@
-data "project" "main" {
+data "eventline_project" "main" {
name = "main"
}
diff --git a/examples/data-sources/eventline_jobs/data-source.tf b/examples/data-sources/eventline_jobs/data-source.tf
index 5420d3b..39b36fd 100644
--- a/examples/data-sources/eventline_jobs/data-source.tf
+++ b/examples/data-sources/eventline_jobs/data-source.tf
@@ -1,4 +1,4 @@
-data "project" "main" {
+data "eventline_project" "main" {
name = "main"
}
diff --git a/examples/data-sources/eventline_project/data-source.tf b/examples/data-sources/eventline_project/data-source.tf
index c0714e1..9fcfcba 100644
--- a/examples/data-sources/eventline_project/data-source.tf
+++ b/examples/data-sources/eventline_project/data-source.tf
@@ -1,3 +1,3 @@
-data "project" "main" {
+data "eventline_project" "main" {
name = "main"
}
diff --git a/examples/data-sources/eventline_projects/data-source.tf b/examples/data-sources/eventline_projects/data-source.tf
index f68d2cc..91e1daf 100644
--- a/examples/data-sources/eventline_projects/data-source.tf
+++ b/examples/data-sources/eventline_projects/data-source.tf
@@ -1,2 +1,2 @@
-data "projects" "example" {
+data "eventline_projects" "example" {
}
diff --git a/examples/resources/eventline_project/import.sh b/examples/resources/eventline_project/import.sh
index c6bc21c..e2224da 100644
--- a/examples/resources/eventline_project/import.sh
+++ b/examples/resources/eventline_project/import.sh
@@ -1 +1 @@
-terraform import eventline_project.test 0123456789ABCDEFGHIJKLMNOPQ
+terraform import eventline_project.test <project_id>
diff --git a/examples/resources/eventline_project/resource.tf b/examples/resources/eventline_project/resource.tf
index e39b50f..43c0cf4 100644
--- a/examples/resources/eventline_project/resource.tf
+++ b/examples/resources/eventline_project/resource.tf
@@ -1,3 +1,3 @@
-resource "project" "example" {
+resource "eventline_project" "example" {
name = "example"
}