diff options
author | Julien Dessaux | 2023-09-24 01:23:50 +0200 |
---|---|---|
committer | Julien Dessaux | 2023-09-24 01:23:50 +0200 |
commit | 4f77442eff59061ac5ab9f710fdb6fe998fedb5f (patch) | |
tree | 79fc8205bdbcebd9c805ed5c4a229affa0b3fdff /examples/resources/eventline_identity | |
parent | Updated dependencies (diff) | |
download | terraform-provider-eventline-4f77442eff59061ac5ab9f710fdb6fe998fedb5f.tar.gz terraform-provider-eventline-4f77442eff59061ac5ab9f710fdb6fe998fedb5f.tar.bz2 terraform-provider-eventline-4f77442eff59061ac5ab9f710fdb6fe998fedb5f.zip |
Add identity resource
Diffstat (limited to '')
-rw-r--r-- | examples/resources/eventline_identity/import.sh | 1 | ||||
-rw-r--r-- | examples/resources/eventline_identity/resource.tf | 12 |
2 files changed, 13 insertions, 0 deletions
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 <project_id>/<identity_id> 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" +} |