...
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: Copy the environment file
The below step will copy the environment file to the artifacts directory. Make sure to check the Produces Artifact option to save the files as artifact so that can be used from Deploy workflow.
...
Below given is a sample deploy workflow to add the environment variable to the AWS Lambda function.
...
Step-i: add environment variables
This step will add environment variables to the Lambda Function and publish the 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 add environment operation successful we can see the variable details on the AWS Lambda Function console.
...