Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • Yes I recognize that now. Any idea how I can read those parameters into the script I'm writing, without changing the file as it is. Commented Apr 10, 2017 at 18:03
  • Yes, you have to use properties-reader package and update config accordingly. Commented Apr 10, 2017 at 18:29
  • Got it thats helpful. One more thing. Right now none of my functions in module exports are executing, basically nothing is being returned. Is there anything I need to do to get them to run? Commented Apr 10, 2017 at 18:46
  • No errors at all. Have tried two things, AWS_PROFILE=aws-admin node AWS_Security_Group.js Commented Apr 10, 2017 at 19:24
  • 1
    Yes it exports, but req,res objects are related to api calls so you have to call this function in that api. So if you want run this file independently, just remove references to all req,res and call module.exports.CreateSecurityGroup() Commented Apr 10, 2017 at 19:47