summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/data-sources/eventline_projects/data-source.tf (renamed from examples/data-sources/projects/data-source.tf)0
-rw-r--r--examples/provider/provider.tf10
-rw-r--r--examples/resources/eventline_project/import.sh (renamed from examples/resources/project/import.sh)0
-rw-r--r--examples/resources/eventline_project/resource.tf (renamed from examples/resources/project/resource.tf)0
4 files changed, 9 insertions, 1 deletions
diff --git a/examples/data-sources/projects/data-source.tf b/examples/data-sources/eventline_projects/data-source.tf
index f68d2cc..f68d2cc 100644
--- a/examples/data-sources/projects/data-source.tf
+++ b/examples/data-sources/eventline_projects/data-source.tf
diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf
index 699cdb4..b562140 100644
--- a/examples/provider/provider.tf
+++ b/examples/provider/provider.tf
@@ -1,4 +1,12 @@
+terraform {
+ required_providers {
+ eventline = {
+ source = "adyxax/eventline"
+ }
+ }
+}
+
provider "eventline" {
- api_key = "12345678-9abc-def0-1234-56789abcdef0"
+ api_key = var.eventline_api_key
endpoint = "http://localhost:8085/"
}
diff --git a/examples/resources/project/import.sh b/examples/resources/eventline_project/import.sh
index c6bc21c..c6bc21c 100644
--- a/examples/resources/project/import.sh
+++ b/examples/resources/eventline_project/import.sh
diff --git a/examples/resources/project/resource.tf b/examples/resources/eventline_project/resource.tf
index e39b50f..e39b50f 100644
--- a/examples/resources/project/resource.tf
+++ b/examples/resources/eventline_project/resource.tf