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.
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
oraccount_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 nowTypeInt
instead ofTypeString
(#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 underedge_ips
asconnectivity
(#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
andconnectivity
have been added.edge_ips.ips
contains the static IP addresses that used to reside atedge_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)