feat: Add fullstack Docusaurus CloudFront template#1
Merged
Conversation
- Add modular Terraform infrastructure for Docusaurus on AWS - Support 4 authentication types: none, basic, cognito, ip - Add CloudFront Functions for Basic auth - Add Lambda@Edge for Cognito OAuth2 auth - Add AWS WAF for IP-based access control - Add Docusaurus static site template - Add mise configuration for version management (Terraform 1.9.8, Node.js 20) - Add GitHub Actions workflow for automated deployment - Add comprehensive documentation (README.md, MISE.md)
- Add Prettier configuration for TypeScript/JavaScript formatting - Add terraform fmt for Terraform code formatting - Add format check workflow in GitHub Actions - Add mise tasks for formatting (format, format:check, fmt, fmt-check) - Format all existing code with configured formatters - Add .prettierrc.json and .prettierignore files
- Add fmt-check task to infra/.mise.toml - Create GitHub Actions workflow for format checking - Add Prettier configuration for root project - Format checks run automatically on pull requests
- Format Terraform files with terraform fmt - Remove package-lock.json from .gitignore - Add package-lock.json for reproducible builds
- Regenerate package-lock.json with correct dependencies - Remove npm cache configuration from GitHub Actions - This resolves npm ci compatibility issues
- npm ci has lockfile version compatibility issues - Use npm install as a workaround
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a comprehensive fullstack template for deploying Docusaurus documentation sites to AWS CloudFront with flexible authentication options.
Changes
Infrastructure (Terraform)
infra/modules/docusaurus+infra/environments/dev)Docusaurus Application
Version Management
CI/CD
Documentation
Architecture
Cost Estimation
Testing