Node-red migrate and deploy with Terraform on AWS

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?

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