From aeeb852b36e66ce754671ce81cc222d7cc06ce8e Mon Sep 17 00:00:00 2001 From: Sergiu Ghitea Date: Fri, 19 Aug 2022 17:46:14 +0200 Subject: [PATCH] Improve auth0_action docs --- docs/resources/action.md | 2 +- internal/provider/resource_auth0_action.go | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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`.", }, }, },