Skip to content

Latest commit

 

History

History
267 lines (180 loc) · 7.24 KB

workspace.md

File metadata and controls

267 lines (180 loc) · 7.24 KB
page_title subcategory description
airbyte_workspace Resource - terraform-provider-airbyte
Workspace Resource

airbyte_workspace (Resource)

Workspace Resource

Example Usage

resource "airbyte_workspace" "my_workspace" {
  name = "...my_name..."
  notifications = {
    connection_update = {
      email = {
        enabled = false
      }
      webhook = {
        enabled = false
        url     = "...my_url..."
      }
    }
    connection_update_action_required = {
      email = {
        enabled = true
      }
      webhook = {
        enabled = true
        url     = "...my_url..."
      }
    }
    failure = {
      email = {
        enabled = false
      }
      webhook = {
        enabled = false
        url     = "...my_url..."
      }
    }
    success = {
      email = {
        enabled = false
      }
      webhook = {
        enabled = true
        url     = "...my_url..."
      }
    }
    sync_disabled = {
      email = {
        enabled = true
      }
      webhook = {
        enabled = true
        url     = "...my_url..."
      }
    }
    sync_disabled_warning = {
      email = {
        enabled = false
      }
      webhook = {
        enabled = false
        url     = "...my_url..."
      }
    }
  }
  organization_id = "4d886138-b4b4-4da8-9dca-f4d28f8550f8"
}

Schema

Required

  • name (String) Name of the workspace

Optional

  • notifications (Attributes) Configures workspace notifications. (see below for nested schema)
  • organization_id (String) ID of organization to add workspace to. Requires replacement if changed.

Read-Only

  • data_residency (String)
  • workspace_id (String)

Nested Schema for notifications

Optional:

Nested Schema for notifications.connection_update

Optional:

Nested Schema for notifications.connection_update.email

Optional:

  • enabled (Boolean)

Nested Schema for notifications.connection_update.webhook

Optional:

  • enabled (Boolean)
  • url (String)

Nested Schema for notifications.connection_update_action_required

Optional:

Nested Schema for notifications.connection_update_action_required.email

Optional:

  • enabled (Boolean)

Nested Schema for notifications.connection_update_action_required.webhook

Optional:

  • enabled (Boolean)
  • url (String)

Nested Schema for notifications.failure

Optional:

Nested Schema for notifications.failure.email

Optional:

  • enabled (Boolean)

Nested Schema for notifications.failure.webhook

Optional:

  • enabled (Boolean)
  • url (String)

Nested Schema for notifications.success

Optional:

Nested Schema for notifications.success.email

Optional:

  • enabled (Boolean)

Nested Schema for notifications.success.webhook

Optional:

  • enabled (Boolean)
  • url (String)

Nested Schema for notifications.sync_disabled

Optional:

Nested Schema for notifications.sync_disabled.email

Optional:

  • enabled (Boolean)

Nested Schema for notifications.sync_disabled.webhook

Optional:

  • enabled (Boolean)
  • url (String)

Nested Schema for notifications.sync_disabled_warning

Optional:

Nested Schema for notifications.sync_disabled_warning.email

Optional:

  • enabled (Boolean)

Nested Schema for notifications.sync_disabled_warning.webhook

Optional:

  • enabled (Boolean)
  • url (String)

Import

Import is supported using the following syntax:

terraform import airbyte_workspace.my_airbyte_workspace ""