terraform-provider-eventline/docs/resources/identity.md

1.1 KiB

page_title subcategory description
eventline_identity Resource - terraform-provider-eventline Eventline identity resource

eventline_identity (Resource)

Eventline identity resource

Example Usage

data "eventline_project" "main" {
  name = "main"
}

resource "eventline_identity" "example" {
  name       = "example"
  project_id = data.eventline_project.main.id

  connector = "eventline"
  data      = jsonencode({ "key" = "test" })
  type      = "api_key"
}

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:

terraform import eventline_identity.test <project_id>/<identity_id>