This repository implements a GitHub Action that triggers AWS CodeBuild builds. It starts a build using the AWS SDK, streams CloudWatch Logs to the GitHub Action output, and waits for the build to complete. The action handles rate limiting with exponential backoff and jitter, and supports cancelling builds via signal handling. The core logic is in `code-build.js`, which exports functions for building, waiting for completion, and processing inputs. The action is designed to be used in GitHub workflows but can also be run locally via the `local.js` script.
This repository contains a full-stack web application deployed on AWS ECS with a CI/CD pipeline. The frontend is a Vue.js application that retrieves product data from a backend Node.js/Express API. The backend scans a DynamoDB table and returns product information, including image URLs stored in S3. Infrastructure is provisioned via Terraform, including networking, ECS cluster/services, ECR repositories, IAM roles, CodePipeline/CodeBuild/CodeDeploy for Blue/Green deployments, autoscaling, and supporting resources (S3, DynamoDB, SNS). The architecture separates concerns with modular Terraform modules and implements production-grade practices like health checks, Swagger documentation, and stress testing.