Skip to content

chore(deps): update terraform cloudflare to v4

Renovate Bot requested to merge renovate/cloudflare-4.x into master

This MR contains the following updates:

Package Type Update Change
cloudflare (source) required_provider major 3.34.0 -> 4.0.0

Release Notes

cloudflare/terraform-provider-cloudflare

v4.0.0

Compare Source

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)

v3.35.0

Compare Source

FEATURES:

  • New Data Source: cloudflare_rulesets (#​2220)

ENHANCEMENTS:

  • resource/cloudflare_argo_tunnel: mark tunnel_token as sensitive (#​2231)
  • resource/cloudflare_device_settings_policy: Add new flag MS IP Exclusion for device policies (#​2236)
  • resource/cloudflare_dlp_profile: Add new allowed_match_count field to profiles (#​2210)

BUG FIXES:

  • resource/cloudflare_logpush_job: fixing typo in comment (#​2238)
  • resource/cloudflare_record: always send tags object which allows removal of unwanted tags (#​2205)
  • resource/cloudflare_tunnel_config: use correct notation for nested lists (#​2235)

INTERNAL:

  • internal: bump Go version to 1.20 (#​2243)

DEPENDENCIES:

  • provider: bump golang.org/x/net to v0.7.0 (#​2245)
  • provider: bumps github.com/cloudflare/cloudflare-go from 0.60.0 to 0.61.0 (#​2240)
  • provider: bumps github.com/hashicorp/terraform-plugin-framework-validators from 0.9.0 to 0.10.0 (#​2227)
  • provider: bumps github.com/hashicorp/terraform-plugin-mux from 0.8.0 to 0.9.0 (#​2228)
  • provider: bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.24.1 to 2.25.0 (#​2239)
  • provider: bumps golang.org/x/net from 0.6.0 to 0.7.0 (#​2241)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports

Loading