Pavlo Maistrenko
Pavlo Maistrenko

Reputation: 347

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

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?

Upvotes: 0

Views: 98

Answers (1)

data_henrik
data_henrik

Reputation: 17176

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.

Upvotes: 1

Related Questions