Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
52

Latest Updates

Documenting code, one commit at a time.

Terraform 4 posts
×

Unlocking Scalability: Refactoring Terraform Infrastructure with Reusable Modules

On the justifai project, our infrastructure as code (IaC) setup, while functional, presented growing challenges. Initially designed as a flat Terraform configuration, it became increasingly complex to manage, understand, and scale as the project evolved. This monolithic approach obscured resource dependencies, hindered reusability, and increased the cognitive load on developers.

Terraform and S3: Mastering CORS for Seamless Browser Uploads and Deployment Readiness

Ever been blocked at the final hurdle of deployment by something as seemingly simple as a file upload? For the justifai project, preparing for an end-to-end demo revealed a common, yet critical, oversight: S3 Cross-Origin Resource Sharing (CORS) configurations. This often overlooked detail can halt browser-based uploads dead in their tracks, especially when using presigned URLs, leading to

Unblocking API Updates: Resolving CORS `PATCH` Issues

In the justifai project, a critical aspect of the dashboard functionality involves managing document statuses, specifically through validation and rejection. These operations require sending PATCH requests to the backend API to update document records. However, users were encountering issues where these updates were unexpectedly failing.

The Challenge: CORS and PATCH Requests