Are there common "environment" variables in IBM Cloud functions (actions)?

99 Views Asked by At

I am writing a number of actions (IBM Cloud functions,) which share a couple of the same parameters, e.g. the IAMAuthenticator or the database path. Is there a way to set these as some kind of environmental variables common to several functions?

1

There are 1 best solutions below

0
On BEST ANSWER

You can make use of packages and bind those variables to a package. All actions in a package kind of share the same setup. It is a way of organizing and simplifying deployment.