aztk icon indicating copy to clipboard operation
aztk copied to clipboard

Add environment variable option to cluster.yaml

Open jafreck opened this issue 7 years ago • 5 comments

environment_variables:
  - name: MY_ENV_VAR
    value: VALUE
  - name: MY_ENV_VAR2
    value: VALUE2

jafreck avatar May 08 '18 20:05 jafreck

should that be a plugin though?

timotheeguerin avatar May 08 '18 21:05 timotheeguerin

I feel like it would be a very easy interface to specify environment variables. Potentially this could be a top level feature in cluster.yaml though. I would be fine with it either way, plugins just seem like a easy fit to implement, but I don't think it's necessary for the feature.

jafreck avatar May 08 '18 21:05 jafreck

Yeah I believe it would nicer as a global setting as this could be used in plugins too and I would expect it to be set before them

timotheeguerin avatar May 08 '18 21:05 timotheeguerin

Yeah I like that idea much better

jafreck avatar May 08 '18 21:05 jafreck

edited to reflect @timotheeguerin suggestion

jafreck avatar May 08 '18 21:05 jafreck