Versions Compared

Key

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

...

  • configuration of the properties e.g. Cloud account, and CLI path.

  • cloning the code and environment file from the Git repository.

  • create the docker image and push it to the AWS ECR registry.

  • perform the deployment using the newly created image present at AWS ECR.

  • verify the deployment.

Checklist

...

We can verify the deploy version from the plugin output and AWS console.

...

.

...

Container Image Settings

The following are common container image settings.

  • ENTRYPOINT – Specifies the absolute path to the entry point of the application.

  • CMD – Specifies parameters that we want to pass in with ENTRYPOINT.

  • WORKDIR – Specifies the absolute path to the working directory.

  • ENV – Specifies an environment variable for the Lambda function.

For more information about how Docker uses the container image settings, see ENTRYPOINT in the Dockerfile reference on the Docker Docs website. For more information about using ENTRYPOINT and CMD, see Demystifying ENTRYPOINT and CMD in Docker on the AWS Open Source Blog. We can override these configurations using the addLambdaEnvironmentVariables operation.

Example to override Image configuration using the addLambdaEnvironmentVariables operation.

...

Check Image Configuration information from the AWS console.

...

Please refer to the link for more information about docker cmd and entrypoint https://phoenixnap.com/kb/docker-cmd-vs-entrypoint