Run Vim script as AWS Lambda function
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
script
.gitignore
Dockerfile
Makefile
README.md
bootstrap
buildspec.yml
template.yml

README.md

Run Vim script as AWS Lambda application

Requirements

  • AWS account with roles(S3 PutObject,Lambda CreateFunction, Lambda UpdateFunction, Lambda Invoke)
  • AWS S3 Bucket
  • AWS IAM Role for Lambda with Cloud Watch
  • Amazon Linux 2 or RHEL like Linux

Environmental Values to be set

  • BUCKET - AWS S3 Bucket name to put an artifact file(its name is vim.zip).
  • FILE_NAME - AWS S3 Key for the archive file.
  • FUNCTION - A name of Lambda function.
  • ROLE_ARN - An arn of the Role of Lambda.

Tasks

  • dep - installs ncurses-devel/git/Development Tools
  • git-get - get vim sources
  • vim - builds vim/ collects libraries/ copy boostrap
  • build - create archive file
  • prepare - uploads archive file to S3
  • create - creates AWS Lambda function
  • deploy - updates AWS Lambda function

Vim でも Lambda やるぞ!

  • AWS アカウントが必要
  • S3 のバケットが必要
  • IAM で Lambda と CloudWatch の権限が必要
  • Amazon Linux 2 または RHEL 系の Linux でしか動かないよ

環境変数

英語で書いてあるやつを使うので設定しておいて

タスク

いろいろあるので英語の方を見ておいて