From 4f77442eff59061ac5ab9f710fdb6fe998fedb5f Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 24 Sep 2023 01:23:50 +0200 Subject: Add identity resource --- examples/resources/eventline_identity/import.sh | 1 + examples/resources/eventline_identity/resource.tf | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 examples/resources/eventline_identity/import.sh create mode 100644 examples/resources/eventline_identity/resource.tf (limited to 'examples') diff --git a/examples/resources/eventline_identity/import.sh b/examples/resources/eventline_identity/import.sh new file mode 100644 index 0000000..e0efa61 --- /dev/null +++ b/examples/resources/eventline_identity/import.sh @@ -0,0 +1 @@ +terraform import eventline_identity.test / diff --git a/examples/resources/eventline_identity/resource.tf b/examples/resources/eventline_identity/resource.tf new file mode 100644 index 0000000..3ed68d0 --- /dev/null +++ b/examples/resources/eventline_identity/resource.tf @@ -0,0 +1,12 @@ +data "eventline_project" "main" { + name = "main" +} + +resource "eventline_identity" "example" { + name = "example" + project_id = data.project.main.id + + connector = "eventline" + data = "{\n \"key\": \"test\"\n }" + type = "api_key" +} -- cgit v1.2.3