Skip to content

v4.0.0

Compare
Choose a tag to compare
@jacobbednarz jacobbednarz released this 21 Feb 00:20
· 3653 commits to master since this release
00ebb75

Warning Prior to upgrading you should ensure you have adequate backups in the event you need to rollback to version 3. This is a major version bump and involves backwards incompatible changes.

3.x to 4.x upgrade guide

BREAKING CHANGES:

  • datasource/cloudflare_waf_groups: removed in favour of cloudflare_rulesets (#2138)
  • datasource/cloudflare_waf_packages: removed in favour of cloudflare_rulesets (#2138)
  • datasource/cloudflare_waf_rules: removed in favour of cloudflare_rulesets (#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_spectrum_application: edge_ip_connectivity is now nested under edge_ips as connectivity (#2219)
  • resource/cloudflare_spectrum_application: edge_ips.type is now a required field (#2219)
  • resource/cloudflare_spectrum_application: edge_ips now contains nested attributes other than IP ranges. type and connectivity have been added. edge_ips.ips contains the static IP addresses that used to reside at edge_ips. (#2219)
  • 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)