Create a vRealize Orchestrator action that uses that uses your Python script.

Procedure

  1. Log in to the vRealize Orchestrator Client.
  2. Navigate to Library > Actions.
  3. Click New Action.
  4. On the General tab, enter a name, module, and version number for the action.
  5. On the Script tab, select Python 3.7 as the runtime, and Zip as the script type.
  6. Click Import.
  7. Browse to the vro-python-aws folder, and select the ZIP package containing the Python script.
  8. In the Entry handler text box, enter main.handler.
    Note: The entry handler of the action is based on the main script in the imported ZIP package. Because the main script is located in a file called main.py, and a function called handler, the entry handler must be main.handler. If you have titled your main script file differently, change the entry handler value accordingly.
  9. Save the action, and click Run.
    The action run encounters an error.
  10. Select the Logs tab.
    The logs of the action run display a "botocore.exceptions.NoRegionError: You must specify a region." error message. This is expected behavior, as the initial Python script does not define a region.

What to do next

Debug the Python script. See Debug the Amazon Web Services Action.