Hello everyone!
I’m trying to create an auth0_connection_clients using Terraform with a client that was deployed outside of Terraform.
To do so, I’m using an auth0_client data source auth0_client | Data Sources | auth0/auth0 | Terraform | Terraform Registry
data "auth0_client" "my_client" {
client_id = "my_client_id..."
}
I’m getting the following error:
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: failed to unmarshal response payload: json: cannot unmarshal string into Go struct field SAML2ClientAddonLogout.addons.samlp.logout.slo_enabled of type bool
│
│ with data.auth0_client.my_client,
│ on auth0_clients.tf line 20, in data "auth0_client" "my_client":
│ 20: data "auth0_client" "my_client" {
The client has the SAML2 WEB APP addon enabled Enable SAML2 Web App Addon (auth0.com). If I disable the SAML2 addon, I don’t get the error.
How can I use a data source with a client that has the SAML2 addon enabled?
I would very much appreciate any help on this.
Thank you.