From 6302c173a83dbec5b43ce4fe036dafc7c5cbde41 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 24 Sep 2023 01:24:42 +0200 Subject: Fixed various documentation entries --- CHANGELOG.md | 3 +++ docs/data-sources/identities.md | 2 +- docs/data-sources/jobs.md | 2 +- docs/data-sources/project.md | 2 +- docs/data-sources/projects.md | 2 +- docs/resources/project.md | 4 ++-- examples/data-sources/eventline_identities/data-source.tf | 2 +- examples/data-sources/eventline_jobs/data-source.tf | 2 +- examples/data-sources/eventline_project/data-source.tf | 2 +- examples/data-sources/eventline_projects/data-source.tf | 2 +- examples/resources/eventline_project/import.sh | 2 +- examples/resources/eventline_project/resource.tf | 2 +- 12 files changed, 15 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08bac26..329063a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ### Features * Add identity resource +### Fixes +* Fixed various documentation entries + ### Notes * Upgraded dependencies diff --git a/docs/data-sources/identities.md b/docs/data-sources/identities.md index da4a389..d9764f2 100644 --- a/docs/data-sources/identities.md +++ b/docs/data-sources/identities.md @@ -13,7 +13,7 @@ Eventline identities data source ## Example Usage ```terraform -data "project" "main" { +data "eventline_project" "main" { name = "main" } diff --git a/docs/data-sources/jobs.md b/docs/data-sources/jobs.md index ce886fd..e993311 100644 --- a/docs/data-sources/jobs.md +++ b/docs/data-sources/jobs.md @@ -13,7 +13,7 @@ Use this data source to retrieve information about existing eventline jobs. ## Example Usage ```terraform -data "project" "main" { +data "eventline_project" "main" { name = "main" } diff --git a/docs/data-sources/project.md b/docs/data-sources/project.md index bf0f077..2fa0438 100644 --- a/docs/data-sources/project.md +++ b/docs/data-sources/project.md @@ -13,7 +13,7 @@ Use this data source to retrieve information about an existing eventline project ## Example Usage ```terraform -data "project" "main" { +data "eventline_project" "main" { name = "main" } ``` diff --git a/docs/data-sources/projects.md b/docs/data-sources/projects.md index 306a718..8141235 100644 --- a/docs/data-sources/projects.md +++ b/docs/data-sources/projects.md @@ -13,7 +13,7 @@ Use this data source to retrieve information about existing eventline projects. ## Example Usage ```terraform -data "projects" "example" { +data "eventline_projects" "example" { } ``` diff --git a/docs/resources/project.md b/docs/resources/project.md index ac1953d..c2f1377 100644 --- a/docs/resources/project.md +++ b/docs/resources/project.md @@ -13,7 +13,7 @@ Eventline project resource ## Example Usage ```terraform -resource "project" "example" { +resource "eventline_project" "example" { name = "example" } ``` @@ -34,5 +34,5 @@ resource "project" "example" { Import is supported using the following syntax: ```shell -terraform import eventline_project.test 0123456789ABCDEFGHIJKLMNOPQ +terraform import eventline_project.test ``` 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 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" } -- cgit v1.2.3