docker-lambda-deploy

module
v0.0.0-...-dfd8dff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: Apache-2.0

README

docker-lambda-deploy

build golangci-lint

Update Lambda functions + Slack notifications.

Run

docker run --rm \                                                                1 ↵ mkf@MKFs-MacBook-Pro
  -e INPUT_AWS_ACCESS_KEY_ID=xxxxxxx \
  -e INPUT_AWS_SECRET_ACCESS_KEY=xxxxxx \
  -e INPUT_AWS_REGION=us-east-1 \
  -e INPUT_FUNCTION_NAME=my-function \
  -e INPUT_S3_KEY=artifact.zip \
  -e INPUT_S3_BUCKET=devops-bucket \
  -e INPUT_CODE_PATH=./build/artifact.zip \
  -e INPUT_SLACK_HOOK=https://xxxxxxxxxxxx \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  masoudkf/docker-lambda-deploy

AWS permissions needed

s3:PutObject and lambda:UpdateFunctionCode

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL