---
title: "Discussion on \"Provision-time FinOps with Terraform, Infracost, and OPA: a working PR-blocking pipeline\" | Hashnode"
description: "Discussion on \"Provision-time FinOps with Terraform, Infracost, and OPA: a working PR-blocking pipeline\". How to embed a hard cost cap into your infrastructure-as-code workflow, with a working OPA policy, GitHub Actions workflow, and Backstage scorecard"
url: "https://hashnode.com/posts/provision-time-finops-with-terraform-infracost-and-opa-a-working-pr-blocking-pipeline/6a4591c6618adba8232e7b52"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Provision-time FinOps with Terraform, Infracost, and OPA: a working PR-blocking pipeline](https://mateenali66.hashnode.dev/provision-time-finops-with-terraform-infracost-and-opa-a-working-pr-blocking-pipeline?utm_source=hashnode&utm_medium=feed)

How to embed a hard cost cap into your infrastructure-as-code workflow, with a working OPA policy, GitHub Actions workflow, and Backstage scorecard

Jul 1 · 11 min read · mateenali66.hashnode.dev  
Read the article

-   [#terraform](https://hashnode.com/tag/terraform)
-   [#opa](https://hashnode.com/tag/opa)
-   [#finops](https://hashnode.com/tag/finops)
-   [#devops](https://hashnode.com/tag/devops)
-   [#github](https://hashnode.com/tag/github)

## Written by

[Mateen Anjum](https://hashnode.com/@mateenali66)

@mateenali66 · Kitchener, ON, Canada

  
[View profile](https://hashnode.com/@mateenali66)

DevOps & Site Reliability Engineer building scalable cloud platforms across AWS, Azure, and Kubernetes.

Cloud DevOps/SRE engineer working with Kubernetes, GitHub Actions, Terraform, and distributed systems. I share practical guides, architecture patterns, and troubleshooting stories learned from running production systems.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
