New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment variables from file in Actions #6178
Comments
I think we can write an application package, put the environment variable configuration in the package configuration, and then use this configuration for all the actions in this package. |
A workaround to get this functionality would be to provide a json file with the environment variables that is read in an action prior to calling For example (not tested) /path/to/action_env.json
Load the environment file. StackStorm will automatically deserialise JSON content from stdout. The deserialised JSON can be published for use in subsequent actions.
|
Having the possibility to define environment variables in the Actions is crucial in most situations, but it would be really nice to have the possibility to specify these variables from a file, so they can be reused across multiple actions without the need of replicate the list of env vars in each action.
It would be something like this:
Or as a parameter:
The text was updated successfully, but these errors were encountered: