How to Override Lambda Function Name in Workflow using variables

This document walks you through the steps to follow on a Harness to achieve how to Override Lambda Function Name in Workflow using variables.

  1. Set a function name in the following way and then set a service variable in service definition as shown below.

  2. We then will try to override this service variable in environment configuration Overrides with a workflow variable as shown below.

  3. We then will pass the actual name in the workflow variable.

  4. Even we can override the variable name at runtime while doing the deployment.

  5. Now we can see we were able to achieve our use case using the above methods.

    Case 1: Value provided to variable at Workflow step:

    Case 2: Value provided to variable at Runtime:

1 Like