github cloudflare/terraform-provider-cloudflare v4.0.0-rc1

latest releases: v4.42.0, aborted-generated-cherry-pick, v4.41.0...
19 months ago

Warning Release candidates may contain bugs and backwards incompatible state modifications. You should not use it in production you are clear on the ramifications and have a clear backup plan in the event of breakages.

For production usage, the 3.x release is recommended using the ~> 3 provider version selector.

We are working on releasing the next major version of the Cloudflare Terraform Provider and want your help!

If you have suitable workloads and would like to test out the next release before everyone else, you can opt-in by updating your provider version to explicitly match one of the release candidate versions (~>, > or >= will not work). See the releases page for available versions.

terraform {
  required_providers {
    cloudflare = {
      source  = "cloudflare/cloudflare"
      version = "4.0.0-rc1"
    }
  }
}

Be sure to check out the version 4 upgrade guide and make any modifications. If you hit bugs, please open a new issue.

  • datasource/cloudflare_waf_groups: removed with no current replacement (#2138)
  • datasource/cloudflare_waf_packages: removed with no current replacement (#2138)
  • datasource/cloudflare_waf_rules: removed with no current replacement (#2138)
  • provider: account_id is no longer available as a global configuration option. Instead, use the resource specific attributes. (#2139)
  • resource/cloudflare_access_bookmark: resource has been removed in favour of configuration on cloudflare_access_application (#2136)
  • resource/cloudflare_access_rule: require explicit zone_id or account_id and remove implicit fallback to user level rules (#2157)
  • resource/cloudflare_account_member: account_id is now required (#2153)
  • resource/cloudflare_account_member: no longer sets client.AccountID internally and relies on the resource provided value (#2154)
  • resource/cloudflare_argo_tunnel: resource has been renamed to cloudflare_tunnel (#2135)
  • resource/cloudflare_ip_list: removed in favour of cloudflare_list (#2137)
  • resource/cloudflare_load_balancer: Migrate session_affinity_attributes from TypeMap to TypeSet (#1959)
  • resource/cloudflare_load_balancer: session_affinity_attributes.drain_duration is now TypeInt instead of TypeString (#1959)
  • resource/cloudflare_load_balancer_monitor: account_id is now required (#2153)
  • resource/cloudflare_load_balancer_monitor: no longer sets client.AccountID internally and relies on the resource provided value (#2154)
  • resource/cloudflare_load_balancer_pool: account_id is now required (#2153)
  • resource/cloudflare_load_balancer_pool: no longer sets client.AccountID internally and relies on the resource provided value (#2154)
  • resource/cloudflare_waf_group: removed in favour of cloudflare_ruleset (#2138)
  • resource/cloudflare_waf_override: removed in favour of cloudflare_ruleset (#2138)
  • resource/cloudflare_waf_package: removed in favour of cloudflare_ruleset (#2138)
  • resource/cloudflare_waf_rule: removed in favour of cloudflare_ruleset (#2138)
  • resource/cloudflare_workers_kv: account_id is now required (#2153)
  • resource/cloudflare_workers_kv: no longer sets client.AccountID internally and relies on the resource provided value (#2154)
  • resource/cloudflare_workers_kv_namespace: account_id is now required (#2153)
  • resource/cloudflare_workers_kv_namespace: no longer sets client.AccountID internally and relies on the resource provided value (#2154)
  • resource/cloudflare_workers_script: account_id is now required (#2153)
  • resource/cloudflare_workers_script: no longer sets client.AccountID internally and relies on the resource provided value (#2154)
  • resource/cloudflare_zone: account_id is now required (#2153)
  • resource/cloudflare_zone: no longer sets client.AccountID internally and relies on the resource provided value (#2154)

Don't miss a new terraform-provider-cloudflare release

NewReleases is sending notifications on new releases.