Skip to content

Commit e40dc6d

Browse files
[Tunnel] Set config_src in Terraform deployment
The creation of a remotely-managed Cloudflare Tunnel in Terraform requires setting the config_src to 'cloudflare', because the default is 'local'.
1 parent e172d90 commit e40dc6d

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/cloudflare-one/connections/connect-networks/deployment-guides

1 file changed

+1
-1
lines changed

src/content/docs/cloudflare-one/connections/connect-networks/deployment-guides/terraform.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ The following configuration will modify settings in your Cloudflare account.
228228
resource "cloudflare_zero_trust_tunnel_cloudflared" "gcp_tunnel" {
229229
account_id = var.cloudflare_account_id
230230
name = "Terraform GCP tunnel"
231-
secret = random_bytes.tunnel_secret.base64
231+
config_src = "cloudflare"
232232
}
233233
234234
# Creates the CNAME record that routes http_app.${var.cloudflare_zone} to the tunnel.

0 commit comments

Comments
 (0)