Show HN: Terraform/OpenTofu provider to govern OpenRouter (keys, spend, guardrails) as code
A new Terraform/OpenTofu provider has been developed to manage OpenRouter as code, addressing issues with manual management. This provider allows for governance features such as workspaces, guardrails, and spend limits, which were previously lacking. The project is currently in its early stages and is open source, inviting feedback for further development.
- ▪The Terraform/OpenTofu provider manages OpenRouter as code, not just API keys.
- ▪It includes features like workspaces, guardrails, and spend/time limits.
- ▪The project is open source and currently in version 0.1.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3964946) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Cristian Beraha Posted on Jun 3 Show HN: Terraform/OpenTofu provider to govern OpenRouter (keys, spend, guardrails) as code #ai #infrastructure #showdev #terraform We run OpenRouter as shared infrastructure across several product teams, and managing it by hand in the dashboard stopped scaling — untracked keys, no spend guardrails, no audit trail of who can use what.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).