Reputation: 277
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
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