How to disable a database login/password on Terraform?

Thank you for posting @deborah !

Could you maybe try this from the auth0-connection-clients resource perspective?


resource "auth0_connection_clients" "my_conn_clients_assoc" {
  connection_id = auth0_connection.my_conn.id
  enabled_clients = [
    auth0_client.my_first_client.id,
    auth0_client.my_second_client.id
  ]
}

As a connection_id you would use the database connection identifier currently enabled for your app, and for enabled_clients array you would use only the relevant client_ids excluding your app id.

2 Likes