<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ngrok-s-new-terraform-provider-akstnphir" -->

---
title: ngrok's new Terraform provider | daily.dev
description: ngrok has released a rebuilt Terraform provider, live as v0.8.1, that lets teams manage domains, cloud endpoints, Traffic Policy rules, and secrets as code....
canonical: https://daily.dev/posts/ngrok-s-new-terraform-provider-akstnphir
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: ngrok's new Terraform provider | daily.dev
og:description: ngrok has released a rebuilt Terraform provider, live as v0.8.1, that lets teams manage domains, cloud endpoints, Traffic Policy rules, and secrets as code....
og:url: https://daily.dev/posts/ngrok-s-new-terraform-provider-akstnphir
og:image: https://api.daily.dev/og/posts/AKSTNphIr.png
og:image:alt: ngrok's new Terraform provider
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# ngrok's new Terraform provider

**[ngrok Blog](https://daily.dev/sources/ngrok)** · 3 min read · 0 upvotes · 0 comments

## Summary

ngrok has released a rebuilt Terraform provider, live as v0.8.1, that lets teams manage domains, cloud endpoints, Traffic Policy rules, and secrets as code. Every resource is importable via terraform import and has a matching data source, so existing ngrok setups can be brought under management without reprovisioning. Traffic Policy blocks can enforce OAuth, email-domain restrictions, rate limiting, and JWT verification declaratively across endpoints, and ngrok_vault/ngrok_secret resources replace ad-hoc credential sharing in Slack or notes.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://ngrok.com/blog/terraform-provider>

## Questions this post answers

### What can I manage with the new ngrok Terraform provider version 0.8.1?

Version 0.8.1 of the ngrok Terraform provider adds support for managing domains, cloud endpoints, Traffic Policy, and secrets as declarative, importable resources. It also adds a data source for every resource, so shared modules can reference existing ngrok infrastructure without pulling it into state, and every resource supports terraform import for adopting existing setups.

_daily.dev surfaces infrastructure-as-code updates like this for teams codifying their ngrok setup._

### How do I store ngrok API keys and secrets securely instead of sharing them in Slack?

Use the ngrok_vault and ngrok_secret resources in the ngrok Terraform provider to make credentials first-class Terraform resources instead of storing API keys in notes or Slack DMs. They can be referenced across other resources the same way as any other Terraform output, removing the need to pass secrets out of band or sync them manually between environments.

_developers hardening credential handling can track tooling changes like this on daily.dev._

### Can I bring existing ngrok domains and endpoints under Terraform management without recreating them?

Yes, every resource in the ngrok Terraform provider supports terraform import, so existing domains and endpoints can be imported into Terraform state without reprovisioning. This matters for teams with dozens of domains already running in production, turning a full migration into an import step instead of a rebuild.

_teams weighing infrastructure-as-code adoption paths can follow tooling like this via daily.dev._

## Similar posts on daily.dev

- [Terraform Google Cloud Provider 7.0 Reaches General Availability](https://daily.dev/posts/terraform-google-cloud-provider-7-0-reaches-general-availability-dkyqrh1ev) · InfoQ · 1 upvotes · 0 comments
- [Announcing the Datadog Terraform provider v4.0.0](https://daily.dev/posts/announcing-the-datadog-terraform-provider-v4-0-0-b6c4otdzq) · Datadog · 2 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#devops](https://daily.dev/tags/devops), [#devtools](https://daily.dev/tags/devtools), [#terraform](https://daily.dev/tags/terraform), [#iac](https://daily.dev/tags/iac)

[View this post on daily.dev](https://daily.dev/posts/ngrok-s-new-terraform-provider-akstnphir)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"ngrok's new Terraform provider","url":"https://daily.dev/posts/ngrok-s-new-terraform-provider-akstnphir","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ngrok-s-new-terraform-provider-akstnphir"},"datePublished":"2026-08-23T07:21:15.532Z","dateModified":"2026-08-23T07:23:19.695Z","description":"ngrok has released a rebuilt Terraform provider, live as v0.8.1, that lets teams manage domains, cloud endpoints, Traffic Policy rules, and secrets as code....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/f912a665de7b0bea4147ac33c2c04b4d?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/f912a665de7b0bea4147ac33c2c04b4d?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"ngrok Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"ngrok Blog","logo":"https://media.daily.dev/image/upload/s--718XXxvE--/f_auto,q_auto/v1787469610/logos/ngrok?_a=BAMAMicg0","url":"https://daily.dev/sources/ngrok"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ngrok-s-new-terraform-provider-akstnphir","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,devops,devtools,terraform,iac","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ngrok Blog","item":"https://daily.dev/sources/ngrok"},{"@type":"ListItem","position":3,"name":"ngrok's new Terraform provider"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/ngrok-s-new-terraform-provider-akstnphir#faq","mainEntity":[{"@type":"Question","name":"What can I manage with the new ngrok Terraform provider version 0.8.1?","acceptedAnswer":{"@type":"Answer","text":"Version 0.8.1 of the ngrok Terraform provider adds support for managing domains, cloud endpoints, Traffic Policy, and secrets as declarative, importable resources. It also adds a data source for every resource, so shared modules can reference existing ngrok infrastructure without pulling it into state, and every resource supports terraform import for adopting existing setups. daily.dev surfaces infrastructure-as-code updates like this for teams codifying their ngrok setup."}},{"@type":"Question","name":"How do I store ngrok API keys and secrets securely instead of sharing them in Slack?","acceptedAnswer":{"@type":"Answer","text":"Use the ngrok_vault and ngrok_secret resources in the ngrok Terraform provider to make credentials first-class Terraform resources instead of storing API keys in notes or Slack DMs. They can be referenced across other resources the same way as any other Terraform output, removing the need to pass secrets out of band or sync them manually between environments. developers hardening credential handling can track tooling changes like this on daily.dev."}},{"@type":"Question","name":"Can I bring existing ngrok domains and endpoints under Terraform management without recreating them?","acceptedAnswer":{"@type":"Answer","text":"Yes, every resource in the ngrok Terraform provider supports terraform import, so existing domains and endpoints can be imported into Terraform state without reprovisioning. This matters for teams with dozens of domains already running in production, turning a full migration into an import step instead of a rebuild. teams weighing infrastructure-as-code adoption paths can follow tooling like this via daily.dev."}}]}
```

