Skip to content

Releases: cloudflare/terraform-provider-cloudflare

v5.6.0

17 Jun 06:22
81cb126
Compare
Choose a tag to compare

5.6.0 (2025-06-17)

Full Changelog: v5.5.0...v5.6.0

Features

Bug Fixes

  • add missing properties (a21b2bc)
  • api: Update zone subscription paths (e021998)
  • page rule panic #5577 (a3c643d)
  • schema: better support top-level arrays in paginated responses (e6331d5)
  • static_route: API can accept single routes now (ac52503)
  • WDAPI: Fix 'id_property' for zero_trust_device_default_profile_local_domain_fallback (c409fd4)

Chores

  • api: TTL is required on DNS records (6f3f1cb)
  • api: Update Go SDK version for Terraform provider (27e835d)
  • api: Update Go SDK version for Terraform provider (082cf15)
  • bump deps to avoid GetResourceIdentitySchemas errors for Terraform CLI v1.12+ (7bceb8f)
  • ci: enable for pull requests (779c686)
  • internal: codegen related update (24c025e)
  • internal: codegen related update (50b8e95)

v5.5.0

19 May 22:20
c7df32b
Compare
Choose a tag to compare

5.5.0 (2025-05-19)

Full Changelog: v5.4.0...v5.5.0

Features

Bug Fixes

  • api: fix path placeholders (0964b9a)
  • cloud_connector_rules: define upsert operations (db4e2aa)
  • cloud_connector_rules: fix nested schema bodies (#5559) (64edb91)
  • cloud_connector_rules: remove outdated warning (#5560) (d7d6ad0)
  • cloud_connector_rules: reuse zone_id for anchor aliasing (bb5cbf3)
  • cloud_connector: alias read methods (2df31d9)
  • cloudforce_one: fix ID typings (#5556) (8f30924)
  • cloudforce_one: fix ID typings (#5558) (6259852)
  • docs: ensure schema docstrings always match the correct schema (120b0c0)
  • internal: more consistent handling of terraform attribute names (69f06bf)
  • only unmarshal attributes that exist on the read response schema during refresh (6521853)
  • page rule issues (#5601) (6316235)
  • r2_bucket_event_notification: add missing queue ID for params (#5594) (eae6622)
  • r2_bucket_event_notification: revert incorrect schema update (#5593) (e86f933)
  • r2_bucket: fix handling of r2_bucket params (#5562) (aa7ba48)
  • r2_bucket: support editing attributes in place (d0f7581)
  • release: update README and version correctly in release PRs (5b2c9d1)
  • schema: support ID parameters on post bodies in addition to path params (11b8aa9)
  • workers_script: Fix refresh behavior and state thrashing (#5544) (5c9e166)
  • zone_setting: update model tags to match schema (#5597) (624db57)

Chores

  • build: update go.mod indirect dependencies (b808655)
  • dep: bump cloudflare-go to v4.4.0 (4c54318)
  • grit: make state replacements more flexible (94617a7)
  • internal: codegen related update (c805fc4)

Documentation

v5.4.0

06 May 01:38
6c081d9
Compare
Choose a tag to compare

5.4.0 (2025-05-05)

Full Changelog: v5.3.0...v5.4.0

Features

Read more

v5.3.0

09 Apr 02:38
72a7419
Compare
Choose a tag to compare

5.3.0 (2025-04-09)

Full Changelog: v5.2.0...v5.3.0

Features

Read more

v5.2.0

20 Mar 23:25
9843ee1
Compare
Choose a tag to compare

5.2.0 (2025-03-20)

Full Changelog: v5.1.0...v5.2.0

Features

Bug Fixes

  • accoun_token: mark meta as read only (84e8c23)
  • account_token: fix missing model change (fff0f2c)
  • account_token: handle value write only field (4cbb4b5)
  • account: remove recreation on tenant unit (76fbb98)
    *...
Read more

v5.1.0

13 Feb 04:27
9f4069d
Compare
Choose a tag to compare

5.1.0 (2025-02-13)

Full Changelog: v5.0.0...v5.1.0

Features

  • api: disable zero_trust_tunnel_cloudflared_token (#5128) (df2c3bc)
  • api: enable zero_trust_tunnel_cloudflared_token (#5127) (1bd200e)
  • grit: add more support for dns_record attributes (3dbe899)
  • various codegen changes (d91aee1)

Bug Fixes

  • grit: handle inner objects within the object for records (e7b7bb1)
  • grit: handle inner objects within the object for records (c9a5257)
  • grit: handle inner objects within the object for records (ae22af5)
  • grit: make pattern names consistent (0b2ba12)
  • update migration guide to use source, not stdlib (9d208d6)
  • use correct name for Grit patterns (2f8d522)

Documentation

  • clean out previously set schema_versions (fba939d)
  • handle cloudflare_record data migration (9eb450b)
  • regenerate (bbf53bf)
  • update deprecation dates (7a8b7d2)
  • update page_rules migration guidance (45e30b1)

v4.52.0

05 Feb 02:34
7e16921
Compare
Choose a tag to compare

Note

This is the last regular release in the 4.x line. 4.x is no longer under active development.

ENHANCEMENTS:

  • resource/cloudflare_waiting_room: add support for Turnstile fields (#4952)
  • resource/cloudflare_zero_trust_gateway_policy: allow configuring isolate rules with BISO admin control V2 settings (#4962)
  • resource/snippets-rules: make terraform consistent with the API and do not require "enabled" and "description" fields
  • resource/snippets: use list instead of set
  • resource/cloud_connector_rules: use list instead of set (#4787)

BUG FIXES:

  • resource/cloudflare_device_posture_integration: fix bug where custom_s2s and tanium_s2s was not included in the type validation for s2s posture integrations. (#4933)

DEPENDENCIES:

  • provider: bump github.com/hashicorp/terraform-plugin-go from 0.25.0 to 0.26.0 (#4928)
  • provider: bump github.com/hashicorp/terraform-plugin-mux from 0.17.0 to 0.18.0 (#4934)

v5.0.0

29 Jan 01:47
v5.0.0
e66dc04
Compare
Choose a tag to compare

Warning

v5.x of this provider is a ground-up rewrite of the SDK, using code generation from our OpenAPI spec.

There are backwards incompatible changes which are documented and outlined in the migration guide
however, we offer codemods to assist as well as the manual steps if you prefer.

Note

v4.x will no longer be in active development per our support policy and all feature
development and improvements will land in v5.x.

Migration guide (including changelog)

https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/guides/version-5-upgrade

v4.51.0

22 Jan 04:41
fee2d58
Compare
Choose a tag to compare

NOTES:

  • resource/cloudflare_ruleset: remove deprecated http_request_sbfm phase (#4860)

ENHANCEMENTS:

  • resource/cloudflare_access_application: add private destination fields to access application (#4892)
  • resource/cloudflare_zero_trust_gateway_policy: allow configuring resolver rules with internal DNS (#4918)

BUG FIXES:

  • resource/cloudflare_api_shield_operation: fixed a bug when using variable names other than var1 ... varN in endpoint definitions causing these resources to be recreated when nothing has changed.
    If this affects you, after upgrading to this version, the resource has to be recreated once more to fix the state, after which the bug is fixed. (#4894)
  • resource/cloudflare_teams_location: Fix import failures on teams locations (#4859)
  • resource/cloudflare_zero_trust_device_posture_rule: Fix 'last_seen' not being written to the state file (#4855)

INTERNAL:

  • resource/cloudflare_api_shield_operation: migrated to the terraform-plugin-framework. (#4894)

DEPENDENCIES:

  • provider: bump github.com/cloudflare/cloudflare-go from 0.113.0 to 0.114.0 (#4893)
  • provider: bump github.com/go-git/go-git/v5 from 5.11.0 to 5.13.0 in /tools (#4903)

v5.0.0-rc1

10 Jan 04:38
v5.0.0-rc1
b386b1f
Compare
Choose a tag to compare
v5.0.0-rc1