# Node-red migrate and deploy with Terraform on AWS

**URL:** <https://discourse.nodered.org/t/node-red-migrate-and-deploy-with-terraform-on-aws/29731>\
**Category:** General\
**Created:** [8 July 2020 19:14 UTC](https://discourse.nodered.org/t/node-red-migrate-and-deploy-with-terraform-on-aws/29731 "2020-07-08T19:14:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrSidX](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrsidx/32/18935_2.png) [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Post date:** [8 July 2020 19:14 UTC](https://discourse.nodered.org/t/node-red-migrate-and-deploy-with-terraform-on-aws/29731/1 "2020-07-08T19:14:16Z")

</div>

I'm trying to deploy a node-red configuration onto a terraformed aws instance,

How can I ensure all the node\_modules are copied and active after the deployment?

The deployment installs a new node-red instance, and I want to install all the needed package.json dependancies or whatever I need to get it essentially "copied" to the deployed aws?

I've tried `npm install` after copying the pachages.json over to the .node-red folder, but node-red still says "Flows Stopped due to missing node types" and lists all the needed packages.

What am I missing in this process?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [6 September 2020 19:14 UTC](https://discourse.nodered.org/t/node-red-migrate-and-deploy-with-terraform-on-aws/29731/2 "2020-09-06T19:14:17Z")

</div>

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