Categorygithub.com/jcmturner/ddns
module
0.0.0-20230902131547-eb6414fa8810
Repository: https://github.com/jcmturner/ddns.git
Documentation: pkg.go.dev

# README

DDNS

Implements an equivalent of DynDNS using AWS API Gateway and Lambda to update DNS managed in AWS Route53

Building & Deploying

Prerequisites

There are two Lambda functions to build and then apply terraform to deploy the functions and create the API gateway configuration

Run the following commands. You will be prompted for your AWS access keys and secret keys, and a username and password that will be used to secure requests to the API.

export GOOS=linux && \
export GOARCH=amd64 && \
cd $GOPATH/src/github.com/jcmturner/ddns/deploy && \
GOARCH=arm64 GOOS=linux go build -i -tags lambda.norpc -o $GOPATH/src/github.com/jcmturner/ddns/deploy/bootstrap $GOPATH/src/github.com/jcmturner/ddns/authorizer/basicauth.go && \
zip ./auth.zip bootstrap && \
GOARCH=arm64 GOOS=linux go build -i -tags lambda.norpc -o $GOPATH/src/github.com/jcmturner/ddns/deploy/bootstrap $GOPATH/src/github.com/jcmturner/ddns/update/update.go && \
zip ./ddns.zip bootstrap && \
terraform apply

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author