# Updating Actions using API to use Node 18 shows "Node 18 BETA (Not Recommended)"

**URL:** <https://community.auth0.com/t/updating-actions-using-api-to-use-node-18-shows-node-18-beta-not-recommended/111574>\
**Category:** Get Help\
**Tags:** actions-management-api, management-api\
**Created:** [July 19, 2023, 8:26am UTC](https://community.auth0.com/t/updating-actions-using-api-to-use-node-18-shows-node-18-beta-not-recommended/111574 "2023-07-19T08:26:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Will956](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/will956/32/42310_2.png) [@Will956](https://community.auth0.com/u/Will956)\
**Post date:** [July 19, 2023, 8:26am UTC](https://community.auth0.com/t/updating-actions-using-api-to-use-node-18-shows-node-18-beta-not-recommended/111574/1 "2023-07-19T08:26:13Z")

</div>

Hi,

When updating my actions to Node 18 using Terraform (and so the Management API) displays “Node 18 BETA (Not Recommended)” as runtime instead of “Runtime: Node 18 (Recommended)” when creating an action from scratch.

![Capture d’écran 2023-07-19 à 10.24.37](https://global.discourse-cdn.com/auth0/original/3X/e/7/e7fd377ef4d124002279fd34f150376d931d649b.png)

When updating existing actions with Terraform:

 ![Capture d’écran 2023-07-19 à 10.22.57](https://global.discourse-cdn.com/auth0/original/3X/e/5/e5dddda463801fae148a5324c55b1df87ba6a605.png)

When creating a new one through the dashboard:

 ![Capture d’écran 2023-07-19 à 10.22.47](https://global.discourse-cdn.com/auth0/original/3X/2/9/291f310cab4c974f34c5a88ef72b3c49a6372258.png)

I guess this is just a wording issue, but I want to make sure that I can safely use Node 18 in my actions now 😛

Thanks!

---

<div class="post-metadata">

**Author:** ![Will956](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/will956/32/42310_2.png) [@Will956](https://community.auth0.com/u/Will956)\
**Post date:** [July 19, 2023, 9:02am UTC](https://community.auth0.com/t/updating-actions-using-api-to-use-node-18-shows-node-18-beta-not-recommended/111574/2 "2023-07-19T09:02:38Z")

</div>

After investigations, it looks like the right value to put is “node18-actions” and not “node18”

---

<div class="post-metadata">

**Author:** ![Will956](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/will956/32/42310_2.png) [@Will956](https://community.auth0.com/u/Will956)\
**Post date:** [July 19, 2023, 9:05am UTC](https://community.auth0.com/t/updating-actions-using-api-to-use-node-18-shows-node-18-beta-not-recommended/111574/3 "2023-07-19T09:05:17Z")

</div>

But the Management API doesn’t allow “node18-actions”

`expected runtime to be one of [node12 node16 node18], got node18-actions`

---

<div class="post-metadata">

**Author:** ![Will956](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/will956/32/42310_2.png) [@Will956](https://community.auth0.com/u/Will956)\
**Post date:** [July 19, 2023, 9:20am UTC](https://community.auth0.com/t/updating-actions-using-api-to-use-node-18-shows-node-18-beta-not-recommended/111574/4 "2023-07-19T09:20:26Z")

</div>

This is addressed in [Allowing GA version of node 18 actions runtime by willvedd · Pull Request #709 · auth0/terraform-provider-auth0 · GitHub](https://github.com/auth0/terraform-provider-auth0/pull/709), the Terraform provider doesn’t allow that value but that should be released soon!

I guess we can close that topic!

---

<div class="post-metadata">

**Author:** ![will.vedder](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/will.vedder/32/46585_2.png) [@will.vedder](https://community.auth0.com/u/will.vedder)\
**Post date:** [July 20, 2023, 6:30pm UTC](https://community.auth0.com/t/updating-actions-using-api-to-use-node-18-shows-node-18-beta-not-recommended/111574/5 "2023-07-20T18:30:57Z")

</div>

@Will956 As you’ve discovered, the Node 18 runtime was not previously supported by the Terraform Provider. Fortunately, we released support for it with [v1.0.0-beta.0](https://registry.terraform.io/providers/auth0/auth0/latest/docs) as simply `node18`. We encourage you to adopt the new version! Also see: [v1.0.0-beta.0 · auth0/terraform-provider-auth0 · Discussion #749 · GitHub](https://github.com/auth0/terraform-provider-auth0/discussions/749)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 3, 2023, 6:31pm UTC](https://community.auth0.com/t/updating-actions-using-api-to-use-node-18-shows-node-18-beta-not-recommended/111574/6 "2023-08-03T18:31:27Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
