You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to use the custom-phone-provider trigger available through the /api/v2/actions/triggers endpoint in my Terraform configuration. The trigger is correctly listed as available with the following details from the API response:
However, when I attempt to use this trigger in my Terraform configuration, I receive the following error: Error: expected trigger to be one of ["post-login" "credentials-exchange" "pre-user-registration" "post-user-registration" "post-change-password" "send-phone-message" "password-reset-post-challenge"], got custom-phone-provider
It seems that the custom-phone-provider trigger is not recognized by the Auth0 Terraform Provider, even though it is listed as available through the Auth0 API.
Expectation
The custom-phone-provider trigger should be supported in the Auth0 Terraform Provider, allowing its configuration without resulting in an error.
When I apply the Terraform configuration with terraform apply
Then I receive the error: Error: expected trigger to be one of ["post-login" "credentials-exchange" "pre-user-registration" "post-user-registration" "post-change-password" "send-phone-message" "password-reset-post-challenge"], got custom-phone-provider
Auth0 Terraform Provider version
v1.9.0
Terraform version
1.7.5
The text was updated successfully, but these errors were encountered:
Hello.
I think I understand the issue you're facing, but in the steps to reproduce, did you mean supported_trigger instead of trigger because auth0_action doesn't support trigger.
Additionally, you can pass a list of maps in supported_trigger field.
The challenge might be if you are using supported_action_trigger resource for which the trigger list is not yet updated. Let me know what you think, we shall update this soon!
Checklist
Description
I am attempting to use the custom-phone-provider trigger available through the /api/v2/actions/triggers endpoint in my Terraform configuration. The trigger is correctly listed as available with the following details from the API response:
However, when I attempt to use this trigger in my Terraform configuration, I receive the following error:
Error: expected trigger to be one of ["post-login" "credentials-exchange" "pre-user-registration" "post-user-registration" "post-change-password" "send-phone-message" "password-reset-post-challenge"], got custom-phone-provider
It seems that the custom-phone-provider trigger is not recognized by the Auth0 Terraform Provider, even though it is listed as available through the Auth0 API.
Expectation
The custom-phone-provider trigger should be supported in the Auth0 Terraform Provider, allowing its configuration without resulting in an error.
Reproduction
When I apply the Terraform configuration with terraform apply
Then I receive the error:
Error: expected trigger to be one of ["post-login" "credentials-exchange" "pre-user-registration" "post-user-registration" "post-change-password" "send-phone-message" "password-reset-post-challenge"], got custom-phone-provider
Auth0 Terraform Provider version
v1.9.0
Terraform version
1.7.5
The text was updated successfully, but these errors were encountered: