...
Below given is a sample build workflow to copy the file from Git repository.
...
Step-i: Clone Git Repository
This step will clone the Git repository codebase into the project execution working directory. The Git URL will be retrieved from Source Control configured under Project Configuration.
...
Step-ii: Create Function archive and save as Artifact
The below step will create Function archive and also check the Produces Artifact option to save the files as artifact so that can be used from Deploy workflow.
...
Step-iii: Copy the environment file
The below step will copy the environment file, so that it can be used from Deploy workflow.
...
Below given is a sample workflow to deploy lambda function code.
...
Step-i: updateLambdaFunctionCode
This step will deploy Lambda function code, and also publish the function version.
...
For detailed steps on how to perform build and deploy, please refer to document. Deploy through FlexDeploy for AWS plugin
After Deploy Execution
Once the updateLambdaFunctionCode operation successful we can see the updated code and published version from the plugin output and AWS Lambda console.
...