Skip to content

Enhance docs: Terraform, API Gateway, bootstrap#90

Merged
Kayle-Verhiel merged 2 commits intomainfrom
update-the-readmes
Mar 22, 2026
Merged

Enhance docs: Terraform, API Gateway, bootstrap#90
Kayle-Verhiel merged 2 commits intomainfrom
update-the-readmes

Conversation

@prathikanand7
Copy link
Copy Markdown
Owner

Issue

ISSUE > Update the Docs

Description

This pull request primarily updates documentation to improve clarity, onboarding, and infrastructure transparency for the LifeWatch Notebook Platform DevOps project. The changes expand and modernize the main project readme.md, overhaul the Terraform bootstrap guide, and update the dev environment and API Gateway module documentation to reflect new routes, Lambda handlers, and resource structure.

Major documentation improvements and infrastructure updates:

1. Project Documentation Overhaul

  • Rewrites the main readme.md to provide a comprehensive overview of the repository, including components, workflows, onboarding, validation commands, security practices, troubleshooting, and secrets management. Removes outdated local Django/Kubernetes instructions in favor of AWS/Terraform-centric workflows.
  • Adds a documentation index and onboarding checklist for new contributors, as well as detailed CI/CD secrets requirements and troubleshooting for common issues.

2. Terraform Bootstrap Documentation

  • Replaces the old terraform-bootstrap/readme.md with a concise guide explaining the purpose, usage, and operational notes for the remote state S3 bucket and DynamoDB lock table, including a backend configuration example for environment stacks.

3. API Gateway and Lambda Integration Updates

  • Documents the new GET /batch/jobs/history_list API route and its associated Lambda handler (lambda_job_history_list) across the dev environment's readme.md, including updates to the API Gateway resource diagram, Lambda artifact paths, and module table. [1] [2] [3] [4] [5]
  • Updates Lambda ZIP artifact paths to point to the backend_lambda_artifacts directory for better organization and clarity.

4. API Gateway Module Documentation

  • Updates the modules/api_gateway/readme.md to accurately describe the resources created, including explicit listing of all API Gateway resources, supported routes, and integration types, replacing the previous generic resource descriptions.

These changes collectively improve the onboarding experience, clarify infrastructure design, and ensure documentation accurately reflects the current state of the codebase and deployment workflows.

Type of change

  • Bug fix
  • New feature
  • Refactor / cleanup
  • Documentation update
  • Configuration / infrastructure change
  • Other:

How has this been tested?

Describe how you verified that your changes work correctly. Include any relevant commands, test cases, or environments used. If no testing was needed, explain why.

  • Unit tests
  • Manual testing
  • No testing required

Notes for reviewers

Anything you want to flag for reviewers such as areas of uncertainty, known limitations, deliberate tradeoffs, or specific things you would like feedback on. Leave blank if nothing needs highlighting.

Checklist

Go through each item before marking the PR as ready for review.

  • I filled in the releated issue link
  • My PR has the name of the branch
  • My code follows the project's coding style
  • I have reviewed my own changes before requesting review
  • I have added or updated relevant documentation
  • My changes do not introduce new warnings or errors
  • I have not committed any secrets, credentials, or sensitive values

Revamp and expand documentation across the repo:

- lifewatch_batch_platform/terraform/environments/dev/readme.md: Add new GET /batch/jobs/history_list route and lambda_job_history_list; update lambda ZIP default paths to ../../backend_lambda_artifacts/*; update service diagrams and module list to include history_list.
- lifewatch_batch_platform/terraform/modules/api_gateway/readme.md: Update resource/method/integration inventory to explicitly list multipart support, routes (including history_list), methods, and integration/response behavior.
- readme.md (root): Full rewrite to "LifeWatch Notebook Platform DevOps" with clearer repository layout, prerequisites, workflows, onboarding checklist, Terraform dev instructions, CI/CD secrets matrix, troubleshooting, and scope notes (removes old local/Django/minikube-centric content).
- terraform-bootstrap/readme.md: Condense and clarify bootstrap purpose, list files, provide backend example with standardized bucket/key/table names, and add operational notes.

These changes improve clarity for developers running and maintaining the Terraform dev environment, align naming conventions, and document the new history_list Lambda endpoint.
@prathikanand7 prathikanand7 linked an issue Mar 22, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Collaborator

@Kayle-Verhiel Kayle-Verhiel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Kayle-Verhiel Kayle-Verhiel merged commit a033a4a into main Mar 22, 2026
2 checks passed
@prathikanand7 prathikanand7 deleted the update-the-readmes branch March 22, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the docs

2 participants