Resource: auth0_connection_client

With this resource, you can enable a single client on a connection.

Example Usage

resource "auth0_connection" "my_conn" {
  name     = "My-Auth0-Connection"
  strategy = "auth0"
}

resource "auth0_client" "my_client" {
  name = "My-Auth0-Client"
}

# One connection to one client association.
# To prevent issues, avoid using this resource together with the `auth0_connection_clients` resource.
resource "auth0_connection_client" "my_conn_client_assoc" {
  connection_id = auth0_connection.my_conn.id
  client_id     = auth0_client.my_client.id
}

Schema

Required

Read-Only

Import

Import is supported using the following syntax:

# This resource can be imported by specifying the
# connection ID and client ID separated by "::" (note the double colon)
# <connectionID>::<clientID>
#
# Example:
terraform import auth0_connection_client.my_conn_client_assoc "con_XXXXX::XXXXXXXX"