rluisr / dms-progress

Get AWS DMS replication progress and send it to slack running on Lambda.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dms-progress

Get AWS DMS replication progress and send it to slack running on Lambda.

Usage

  1. Clone
  2. Build
  3. Upload
GOOS=linux GOARCH=amd64 go build -a -tags netgo -installsuffix netgo --ldflags '-extldflags "-static"' -o main && zip main.zip ./main && mv -f main.zip ~/Desktop/ && rm -rf main

handler is main and you have to set these environment variables.

  • SLACK_INCOMING_URL
  • SLACK_CHANNEL
  • REGION

and need creating policy of dms.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "dms:*",
            "Resource": "*"
        }
    ]
}

About

Get AWS DMS replication progress and send it to slack running on Lambda.


Languages

Language:Go 100.0%