Ant
Ant

Reputation: 277

Is there a way to copy an ibm cloud function from one account to another

I have a cloud function in an account that might be deleted one day. How can I move/copy this function into another account ?

Upvotes: 0

Views: 74

Answers (1)

data_henrik
data_henrik

Reputation: 17176

The Command Line Interface (CLI) for IBM Cloud Functions has a "action get" command. There are some parameters to obtain the action code as well as to save it to a file.

If you know the action, save it from account A, then deploy it to account B. If there are more, use the list commands for namespaces, packages and actions to obtain the action names.

Upvotes: 2

Related Questions