Creates an AWS lambda function that generates a dynamic OPML feed of GitHub repo releases from the given GitHub user's starred repos.
NOTE: Instructions are currently for Unix based systems only
- Install nvm.
- Run
nvm use
. - Navigate to the
src/lambda
directory - Run
npm install
to install node modules.
- Install OpenTofu with
brew install opentofu
- Initialize OpenTofu with
tofu init
in thesrc/open-tofu
directory - Install the AWS CLI
- Create AWS Access Keys for your IAM user (not root user!!)
- Run
aws configure
and add the keys when prompted (useus-east-1
for default region andjson
for output format) - Setup a
.tfvars
file usingmain.tfvars.template
as a basis
- Navigate to the
src/open-tofu
directory - Run
tofu plan -var-file="path/to/vars.tfvars"
to see what updates OpenTofu will do - Run
tofu apply -var-file="path/to/vars.tfvars"
to actually apply those updates