{"slug": "how-cursor-rebuilt-its-terraform-workflow-with-masterpoint", "title": "How Cursor Rebuilt Its Terraform Workflow with Masterpoint", "summary": "Masterpoint's audit of Cursor's infrastructure found IAM duplication accounted for 70% of the production Terraform state, and within one week the firm resolved the duplication, reducing resource count by 45.8% from 8,480 to 4,593 and cutting mean plan time by 39.3% from 488 seconds to 296 seconds, all without downtime.", "body_md": "November 2025 - Audit and High Leverage Fixes\nThe engagement opened with \nMasterpoint’s audit\n of Cursor’s infrastructure:\ncloud environments\nInfrastructure as Code (IaC) & Terraform architecture\nCI/CD pipelines\nnetworking\nobservability\nWithin a week, Masterpoint delivered an audit report, a best practices checklist, and a security scan. The findings included IAM duplication accounted for 70% of the production Terraform state and noisy plan diffs caused engineer review fatigue.\nThe audit phase targeted the highest-leverage fixes first: IAM resource deduplication, workspace trigger and path filter corrections so plans only ran when relevant code changed, and initial breaking up of the monolithic Terraform workspace to begin isolating Staging and Machine Learning infrastructure.\nJust one week later, Masterpoint had resolved the IAM duplication, with significant results:\nBefore\nAfter\nResource Count\nBefore\n8,480\n→\nAfter\n4,593\n45.8% reduction in duplication\nMean plan time\nBefore\n488s (8.1 min)\n→\nAfter\n296s (4.9 min)\n39.3% faster\nP50 plan time (median)\nBefore\n423s (7.1 min)\n→\nAfter\n272s (4.5 min)\n35.7% faster\nP95 plan time\nBefore\n749s (12.5 min)\n→\nAfter\n414s (6.9 min)\n44.7% faster\nThis was accomplished without touching the workspace structure, and without any downtime. At the speed and scale Cursor operates, downtime simply isn’t an option. Every improvement had to land safely while the platform kept growing underneath it: even as Masterpoint deduplicated and trimmed resources, Cursor was continuously adding new ones. There was still more the systems could improve on.", "url": "https://wpnews.pro/news/how-cursor-rebuilt-its-terraform-workflow-with-masterpoint", "canonical_source": "https://masterpoint.io/case-studies/cursor/", "published_at": "2026-07-21 02:07:15+00:00", "updated_at": "2026-07-21 02:22:58.948577+00:00", "lang": "en", "topics": ["developer-tools", "ai-infrastructure"], "entities": ["Cursor", "Masterpoint"], "alternates": {"html": "https://wpnews.pro/news/how-cursor-rebuilt-its-terraform-workflow-with-masterpoint", "markdown": "https://wpnews.pro/news/how-cursor-rebuilt-its-terraform-workflow-with-masterpoint.md", "text": "https://wpnews.pro/news/how-cursor-rebuilt-its-terraform-workflow-with-masterpoint.txt", "jsonld": "https://wpnews.pro/news/how-cursor-rebuilt-its-terraform-workflow-with-masterpoint.jsonld"}}