diff --git a/docs/resources/action.md b/docs/resources/action.md index a332df5b8..79283533b 100644 --- a/docs/resources/action.md +++ b/docs/resources/action.md @@ -81,7 +81,7 @@ resource "auth0_action" "my_action" { Required: - `id` (String) The trigger ID. -- `version` (String) The trigger version. +- `version` (String) The trigger version. This also controls the `runtime` version. Make sure the `version` supports the desired node `runtime`. diff --git a/internal/provider/resource_auth0_action.go b/internal/provider/resource_auth0_action.go index ea2d66d43..e73ccd693 100644 --- a/internal/provider/resource_auth0_action.go +++ b/internal/provider/resource_auth0_action.go @@ -45,9 +45,10 @@ func newAction() *schema.Resource { Description: "The trigger ID.", }, "version": { - Type: schema.TypeString, - Required: true, - Description: "The trigger version.", + Type: schema.TypeString, + Required: true, + Description: "The trigger version. This also controls the `runtime` version. " + + "Make sure the `version` supports the desired node `runtime`.", }, }, },