aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJulien Dessaux2023-06-19 13:04:25 +0200
committerJulien Dessaux2023-06-19 13:08:03 +0200
commit21b3a6e58787aae54938b772e3e66f1c14e86766 (patch)
tree5ec9085f196d0311ea71050d7e8edf663bf09b32 /examples
parentDeactivate 32bits builds because the ksuid library does not support those (diff)
downloadterraform-provider-eventline-21b3a6e58787aae54938b772e3e66f1c14e86766.tar.gz
terraform-provider-eventline-21b3a6e58787aae54938b772e3e66f1c14e86766.tar.bz2
terraform-provider-eventline-21b3a6e58787aae54938b772e3e66f1c14e86766.zip
Terraform registry documentation bootstrapv0.0.2
Diffstat (limited to 'examples')
-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