Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step-ii: Copy the environment file
The below step will copy the environment file to the artifact. Also check the Produces Artifact option to save the files as artifact so that can be used from Deploy workflow.

...

Below given is a sample build workflow to add the environment variable to the AWS Lambda function.

...

Step-i: add environment variables

...

And we have selected the publish version option from the workflow so we can verify the published function version, from the plugin output and AWS Lambda console.

...

Sample code to retrieve the secured variables

...