Upgrade Tenant-Wide Extensibility Runtime Node Version using Auth0 Deploy CLI and Terraform

Overview

This article provides steps to upgrade a tenant-wide extensibility (like Custom DB scripts, Actions) runtime Node version using Auth0 Deploy CLI and Terraform.

Applies To

  • Terraform
  • Auth0 Deploy CLI
  • upgrade extensibility Node version

Solution

To update the tenant-wide extensibility (like Custom DB scripts, Actions) runtime to Node version x, modify the configuration as shown below, depending on the deployment tool:

  1. For Auth0 Deploy CLI: in the tenant.yaml file, set the value of sandbox_version under the tenant section to “x”.
tenant:
  friendly_name: Tenant Name
  sandbox_version: "x"
  ...

Find the tenant.json example when using Directory stucture.
2. For Terraform: in the configuration file, within the auth0_tenant resource, set the sandbox_version attribute to “x”. Find this documented in the Example Usage and Schema.

resource "auth0_tenant" "tenant_name" {
  friendly_name           = "TenantName"
  sandbox_version         = "x"
  ...
}
2 Likes