clubstraylight-lambda

Deploy a serverless AWS Lambda behind a CloudFront distribution with Terraform and GitHub Actions.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/doolin/dave-skills --skill clubstraylight-lambda
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clubstraylight-lambda
Source: https://github.com/doolin/dave-skills/tree/main/skills/clubstraylight-lambda
Command: npx skills add https://github.com/doolin/dave-skills --skill clubstraylight-lambda

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploy a serverless Lambda behind clubstraylight.com's CloudFront distribution, including Terraform infrastructure, CI/CD workflows, deployment scripts, and routing configuration.

Core Features & Use Cases

  • Terraform-based infrastructure for Lambda deployment, CloudFront routing, and related resources.
  • GitHub Actions CI/CD with OIDC authentication for automated deployments.
  • End-to-end deployment workflow from code to a live CloudFront URL with safeguards and invalidation steps.
  • Guidance to reuse or replicate the setup in other repositories.

Quick Start

Follow this guide to add a new serverless Lambda app behind the clubstraylight CloudFront distribution.

Frequently Asked Questions about clubstraylight-lambda

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a serverless Lambda behind CloudFront with Terraform?

To deploy a serverless Lambda behind CloudFront, you configure Lambda URL settings and CloudFront routing rules to direct traffic correctly. This approach applies Terraform-managed infrastructure to automate the underlying deployment and routing configuration.

Can I use GitHub Actions for automated Lambda deployments with OIDC?

Yes, you can use GitHub Actions for automated Lambda deployments with OpenID Connect (OIDC) authentication. This configuration orchestrates CI/CD workflows to securely handle deployments without relying on long-lived static credentials.

What is the best way to manage infrastructure for serverless web apps requiring CI/CD?

The best way to manage infrastructure for serverless web apps is using Terraform for resource management combined with GitHub Actions for CI/CD workflows. This secures the end-to-end deployment process from code to a live CloudFront URL.

Does this Lambda deployment workflow include cache invalidation for CloudFront?

Yes, the Lambda deployment workflow includes cache invalidation steps for CloudFront. The end-to-end deployment process incorporates specific safeguards and invalidation steps to ensure the live CloudFront URL serves updated application code immediately.

How do I replicate a Terraform serverless deployment setup in another repository?

To replicate a Terraform serverless deployment setup in another repository, you apply the provided guidance to reuse the infrastructure templates and CI/CD workflows. This enables teams to quickly duplicate the CloudFront and Lambda configuration.