Terraform Node Version for Auth0 Actions

Hiya

Are their plans to update the node version in terraform to >18 ? There is a banner on the site saying to upgrade, and since we are managing actions via terraform, we need this to update. I’ve checked the change log, and unless I’ve missed something, 18 is the max version.

Cheers!

Hi @Kush1,

Thanks for your question.

We have recently released Node 22 support, which you can reference in our Node 22 Support for Actions and other extensibility products announcement.

If you need to upgrade the node version for Actions in Terraform, you could try:

resource "auth0_action" "my_action" {
  name    = "Test Action"
  runtime = "node22"
  ...
}

(Reference: Terraform Registry - auth0_action)

And if you would like to have your entire tenant run on Node 22 moving forward, you might try:

resource "auth0_tenant" "my_tenant" {
  friendly_name           = "Tenant Name"
  sandbox_version         = "22"
  ...
}

(Reference: Terraform Registry - auth0_tenant)

Thanks,
Rueben

1 Like

Thanks Reuben. My mistake, I was running auth provider version 1.10.0, upgrading to 1.15.0 fixed it.

1 Like

Hi @Kush1,

No worries, I’m glad it’s working now!

Feel free to reach out again if you have any questions.

Cheers,
Rueben