jorgebastida / gordon

λ Gordon is a tool to create, wire and deploy AWS Lambdas using CloudFormation
Other
2.05k stars 137 forks source link

Environment variables support added #140

Closed tdi closed 6 years ago

tdi commented 7 years ago

Closes #116

You can add to the settings.yml:

environement:
  Varname: something
  varnam033sjks_s: "something else"
ZivRechnitser commented 7 years ago

Any idea when this PR is going to be merged?

kpiotrowski commented 7 years ago

:+1:

tdi commented 7 years ago

@jorgebastida any ETA on accepting this one?

ericblade commented 6 years ago

hi @tdi .. it looks like @jorgebastida has disappeared for a little while.. I've made a fork of this repo, and am interested in this. I'm wondering if there's any way to specify a different variable value, based on other values that are known at the time of running gordon? some way to set like "if stage is PROD then SERVERHOST=productionserver.host.com; else SERVERHOST=developserver.host.com". Any idea how one would go about doing that? If that's not already possible, is that something you'd find interesting?

jorgebastida commented 6 years ago

Thank you very much @tdi - Will try to be more responsive in the future :)

ZivRechnitser commented 6 years ago

@tdi @jorgebastida any option to add the ability to use parameters: VARIABLE: ref://parameter?