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
When attempting to execute this via terraform apply, we get the following error:
│ Error: 400 Bad Request: trigger is not supported
│
│ with auth0_action.my_email_template,
│ on auth0.tf line 40, in resource "auth0_action" "my_email_template":
│ 40: resource "auth0_action" "my_email_template" {
│
This also fails for the trigger "post-change-password." The trigger "post-login" works perfectly fine, but other's just don't.
The issue presents with versions 0.36.0, 0.37.0, and 0.37.1 when we test this out.
Expectation
I would assume that when my terraform runs, the trigger would be applied along with the correct action.
Reproduction
Given the terraform
resource "auth0_action" "my_email_template" {
depends_on = [auth0_email.my_email_provider]
name = format("Send Welcome Email %s", timestamp())
runtime = "node16"
code = file("${path.module}/auth0/welcome_mail.js")
deploy = true
supported_triggers {
id = "post-user-registration"
version = "v3"
}
}```
When it is executed against an Auth0 tenant,
Then the action is created with the correct trigger.
### Auth0 Terraform Provider version
0.37.1
### Terraform version
1.2.8
The text was updated successfully, but these errors were encountered:
I have the same issue with post-user-registration - I also don't know what the list of acceptable versions is for a given trigger. I blindly put v3 and got the same error. When I put v2 as the version, it worked.
Hey folks, we're trying to improve this by adding a guide on how to fetch an always up to date list of available action triggers and their versions in #370. Once that's merged and released the terraform registry docs will render the guide in a nicer format. Stay tuned!
Checklist
Description
My team is attempting to implement Auth0 actions via the terraform provider, and we seem to have found a bug involving the supported triggers.
Here is the snippet of terraform that we are trying to execute:
When attempting to execute this via terraform apply, we get the following error:
This also fails for the trigger "post-change-password." The trigger "post-login" works perfectly fine, but other's just don't.
I've been using the trigger names defined here.
The issue presents with versions 0.36.0, 0.37.0, and 0.37.1 when we test this out.
Expectation
I would assume that when my terraform runs, the trigger would be applied along with the correct action.
Reproduction
Given the terraform
The text was updated successfully, but these errors were encountered: