terraform-provider-cloudflare
terraform-provider-cloudflare copied to clipboard
Allow setting worker compatibility_date/flags
Current Terraform and Cloudflare provider version
- Terraform 1.2.3
- Cloudflare terraform provider 3.15.0
Description
Cloudflare allows setting a compatibility date/flags for certain Worker features/bug fixes: https://developers.cloudflare.com/workers/platform/compatibility-dates/
However, the current cloudflare_worker_script resource does not provide this setting.
Use cases
Allows enabling new Cloudflare worker features and bug fixes that may change existing behaviour.
Potential Terraform configuration
resource "cloudflare_worker_script" "example" {
...
compatibility_date = "2022-04-05"
compatibility_flags = ["url_standard"]
}
References
No response