Skip to content

Ernyoke/bsky-aws-blogs

Repository files navigation

bsky-aws-blogs

What is this?

This project contains the source code for AWS Blogs on 🦋 and for Deprecated by AWS bots.

The purpose of these bot is to automatically re-share blog posts published by AWS employees/partners on aws.amazon.com/blogs

Deployment

Requirements

Deployment Steps

  1. Build shared dependencies
cd shared
npm install --install-links --cpu=arm64 --os=linux --omit=dev --ignore-scripts
npm run build
  1. Build the lambda layers
cd bsky-aws-blogs-deprecations-lambda-layer/nodejs
npm install --install-links --cpu=arm64 --os=linux --omit=dev --ignore-scripts --legacy-peer-deps
cd bsky-aws-blogs-fetcher-lambda-layer/nodejs
npm install --install-links --cpu=arm64 --os=linux --omit=dev --ignore-scripts
cd bsky-aws-blogs-lambda-layer/nodejs
npm install --install-links --cpu=arm64 --os=linux --omit=dev --ignore-scripts
  1. Build the lambda functions:
cd bsky-aws-blogs-deprecations-lambda
npm install
npm run build
cd bsky-aws-blogs-fetcher-lambda
npm install
npm run build
cd bsky-aws-blogs-lambda
npm install
npm run build
  1. Deploy the infrastructure
cd infra
cp input.tfvars.example input.tfvars
# Fill in the missing values
terraform apply -var-file="input.tfvars"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published