Workers For Platforms
Workers For PlatformsDispatchNamespaces
resource cloudflare_workers_for_platforms_dispatch_namespace
computed
trusted_workers: Bool
Whether the Workers in the namespace are executed in a "trusted" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the request.cf object on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, and request.cf is undefined. By default, Workers in a namespace are "untrusted".
cloudflare_workers_for_platforms_dispatch_namespace
resource "cloudflare_workers_for_platforms_dispatch_namespace" "example_workers_for_platforms_dispatch_namespace" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
name = "my-dispatch-namespace"
}
data cloudflare_workers_for_platforms_dispatch_namespace
required
computed
trusted_workers: Bool
Whether the Workers in the namespace are executed in a "trusted" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the request.cf object on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, and request.cf is undefined. By default, Workers in a namespace are "untrusted".
cloudflare_workers_for_platforms_dispatch_namespace
data "cloudflare_workers_for_platforms_dispatch_namespace" "example_workers_for_platforms_dispatch_namespace" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
dispatch_namespace = "my-dispatch-namespace"
}
data cloudflare_workers_for_platforms_dispatch_namespaces
cloudflare_workers_for_platforms_dispatch_namespaces
data "cloudflare_workers_for_platforms_dispatch_namespaces" "example_workers_for_platforms_dispatch_namespaces" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}