Skip to content

Commit

Permalink
Revert "Add node18 GA option to actions runtime" (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught authored Sep 19, 2023
1 parent e5e2678 commit 61f675a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -828,8 +828,9 @@ resource "auth0_client_grant" "my_client_grant" {

### Actions Node 18 Runtime Beta

On `v0.x` the `node18` runtime value was setting the runtime to Node 18 Beta, on `v1` this will now opt you in to the
GA version of Node 18. If you were using the `node18-actions` (GA) runtime on `v0.x`, simply rename that to `node18` on `v1`.
The Node 18 Beta runtime option for actions has been removed.

Now, you will be opted in to the GA version of Node 18 actions runtime instead.

Ensure that the versions of the trigger types you are using are allowed to use the `node18` runtime. You can retrieve
the triggers available within actions and their supported runtimes following this guide: [Retrieve triggers available within actions](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/action_triggers).
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/action.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ resource "auth0_action" "my_action" {

- `dependencies` (Block Set) List of third party npm modules, and their versions, that this action depends on. (see [below for nested schema](#nestedblock--dependencies))
- `deploy` (Boolean) Deploying an action will create a new immutable version of the action. If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately.
- `runtime` (String) The Node runtime. Defaults to `node12`. Possible values are: `node12`, `node16`, `node18` (beta) or `node18-actions` (GA).
- `runtime` (String) The Node runtime. Defaults to `node12`. Possible values are: `node12`, `node16` or `node18`.
- `secrets` (Block List) List of secrets that are included in an action or a version of an action. (see [below for nested schema](#nestedblock--secrets))

### Read-Only
Expand Down
3 changes: 1 addition & 2 deletions internal/auth0/action/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,9 @@ func NewResource() *schema.Resource {
"node12",
"node16",
"node18",
"node18-actions",
}, false),
Description: "The Node runtime. Defaults to `node12`. Possible values are: " +
"`node12`, `node16`, `node18` (beta) or `node18-actions` (GA).",
"`node12`, `node16` or `node18`.",
},
"secrets": {
Type: schema.TypeList,
Expand Down

0 comments on commit 61f675a

Please sign in to comment.