Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

On the latest version of the provider I

On the latest version of the provider I seem to be running into issues with cloudflare_workers_route. It's giving me a missing required route_id parameter while that should be optional(?)...
No description

Apologies if I'm overlooking something,

Apologies if I'm overlooking something, but is it correct that cloudflare_dns_record only lets you add A type records?

If anyone else is struggling with

If anyone else is struggling with cloudflare_zone_setting in the 5.2.0 provider, e.g.: │ │ with cloudflare_zone_setting.secure-form-edge["true_client_ip_header"], │ on main.tf line 119, in resource "cloudflare_zone_setting" "secure-form-edge": │ 119: resource "cloudflare_zone_setting" "secure-form-edge" {...

How do we create enterprise cloudflare_

How do we create enterprise cloudflare_zone in the 5.x terraform provider? the "plan" attribute has been removed

Terraform Registry

not sure if I overlooked something, but it appears that https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/guides/version-5-upgrade forgot to list one more breaking change for cloudflare_ip_ranges, as ipv4_cidr_blocks became ipv4_cidrs for example

Hello! I'm in the process of upgrading

Hello! I'm in the process of upgrading v4 to v5. I've used the "cloudflare_workers_secret" resource to add secrets to my regular workers before. But in v5 it seem to require the "dispatch_namespace" parameter which looks like something only used for workers for platforms. Is it possible to manage worker secrets in v5?

cf-terraform issue

Hi I have been tring to import my existing data from cloudflare using cf-terraform. I'm facing the below issue. facing same issue after changing to latest provider 5.0....
No description

@crossbeau ive migrated from the

@crossbeau ive migrated from the cloudflare provider to the pulumi local.Command resource to upload a worker. will post the solution in the thread i've got support for durable objects in my stack... AND state size has gone back down from 3.3mb ... to now 0.05mb 🌈...

@msl make sure your api key has all the

@msl make sure your api key has all the access it needs?

Hello all. I'm trying to configure a

Hello all. I'm trying to configure a tunnel using the terraform provider and am getting this error. I couldn't find any matches online, so trying to understand what's wrong here. Has anyone seen anything like this? ``` │ Error: error creating Access Application for zones "f86........": error from makeRequest: auth.key_not_in_claims (1007) │ │ with cloudflare_zero_trust_access_application.devportal_tunnel,...

Tail workers

👋 Hey guys, I'm a little bit struggling with tail worker's setup and deployment through terraform 😿 The tail_consumers option is missing in the terraform cloudflare_worker_script resource. I want to deploy the tail worker and also add tail_consumers binding to the producer worker. I did not find any mention of this in the Terraform documentation. Is it possible? I deploy all our infrastructure by terraform, so It would be annoying to be forced to change deployment to wrangler 😦...

hello! today we tried without lucky

hello! today we tried without lucky create a custom domain in a R2 bucket via terraform, we did it manually from UI but I don't see the option in order to do it via terraform

can't create zone with Enterprise plan ·...

hello! I'm trying to create a zone with Terraform with license Enterprise but I receive this error "Error: error setting plan enterprise for zone "": Authentication error (10000)" . The same than this issue https://github.com/cloudflare/terraform-provider-cloudflare/issues/3169 . I recently allowed to the token used the role of "Account->Account Settings" . I guess i need something more.....

does anyone know if durable object

does anyone know if durable object support is on the roadmap?

terraform_pages_issue

TF_LOG=debug environment variable so if you on Linux then just TF_LOG=debug terraform apply

i m not sure why they aren t the GitHub

i'm not sure why they aren't. the GitHub release looks fine - https://github.com/cloudflare/terraform-provider-cloudflare/releases/tag/v3.33.1. i'll raise it with hashicorp and see what they say.