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 /docs/resources | |
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-- | docs/resources/identity.md | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/docs/resources/identity.md b/docs/resources/identity.md new file mode 100644 index 0000000..9cfb965 --- /dev/null +++ b/docs/resources/identity.md @@ -0,0 +1,52 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "eventline_identity Resource - terraform-provider-eventline" +subcategory: "" +description: |- + Eventline identity resource +--- + +# eventline_identity (Resource) + +Eventline identity resource + +## Example Usage + +```terraform +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" +} +``` + +<!-- schema generated by tfplugindocs --> +## Schema + +### Required + +- `connector` (String) The connector used for the identity. +- `data` (String, Sensitive) The json raw data of the identity. +- `name` (String) The name of the identity. +- `project_id` (String) Project id +- `type` (String) The type of the identity. + +### Read-Only + +- `id` (String) The identifier of the identity. +- `status` (String) The status of the identity. + +## Import + +Import is supported using the following syntax: + +```shell +terraform import eventline_identity.test <project_id>/<identity_id> +``` |