Resource: auth0_organization_connection

With this resource, you can manage enabled connections on an organization.

Example Usage

resource "auth0_connection" "my_connection" {
  name     = "My Connection"
  strategy = "auth0"
}

resource "auth0_organization" "my_organization" {
  name         = "my-organization"
  display_name = "My Organization"
}

resource "auth0_organization_connection" "my_org_conn" {
  organization_id            = auth0_organization.my_organization.id
  connection_id              = auth0_connection.my_connection.id
  assign_membership_on_login = true
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

# This resource can be imported by specifying the
# organization ID and connection ID separated by "::" (note the double colon)
# <organizationID>::<connectionID>
#
# Example:
terraform import auth0_organization_connection.my_org_conn "org_XXXXX::con_XXXXX"