Worker Terraform KV


#1

Try to see if anyone know how to create/add KV NAMESPACE and also bind it to my variable used in my worker script. I am asking how to configure it in my workers.tf for Terraform?

resource “cloudflare_worker_route” “datemix” {
zone = “{var.cloudflare_zone}" pattern = "www.example.com/login" script_name = "{cloudflare_worker_script.login.name)”

}