This document walks you through the steps to follow on a Harness to achieve how to Override Lambda Function Name in Workflow using variables.
-
Set a function name in the following way and then set a service variable in service definition as shown below.
-
We then will try to override this service variable in environment configuration Overrides with a workflow variable as shown below.
-
We then will pass the actual name in the workflow variable.
-
Even we can override the variable name at runtime while doing the deployment.
-
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: