Skip to content

chore(deps): update terraform cloudflare to v5 #537

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 29, 2025

This PR contains the following updates:

Package Type Update Change
cloudflare (source) required_provider major 4.23.0 -> 5.3.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

cloudflare/terraform-provider-cloudflare (cloudflare)

v5.3.0

Compare Source

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

Features
Bug Fixes
Chores
Documentation

v5.2.0

Compare Source

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)
  • api: avoid spurious replacement plans for computed ID properties (#​5244) (37baea6)
  • api: remove min and max validations in mismatched union variants (#​5263) (b5f51a0)
  • authenticated_origin_pulls_certificate: handle private_key write only field (78b9ff1)
  • authenticated_origin_pulls_certificate: populate certificate_id from the id (2b53245)
  • dns_record: relax constraint for overlapping unions (ac79ff8)
  • find-by style data source attributes should share models with plural data sources (#​5251) (d488159)
  • r2_custom_domain: remove duplicated domain value (e062813)
  • r2_custom_domain: update path placeholders to de-duplicate internal values (#​5281) (5ef949d)
  • rulesets: remove unused fields (dcab45f)
  • waiting_rooms: comment out broken struct for now (3f89aef)
  • workers_script: re-resolve the correct schemas (05b25ba)
Chores
Documentation

v5.1.0

Compare Source

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)

v5.0.0

Compare Source

[!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.52.0

Compare Source

[!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)

v4.51.0

Compare Source

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)

v4.50.0

Compare Source

ENHANCEMENTS:

  • cloudflare_teams_location: support endpoints + BYOIPv6 + DNS IPv4 destinations (#​4805)
  • resource/cloudflare_zone_settings_override: Add support for aegis (#​4820)
  • resource/cloudflare_zone_settings_override: add support for ssl_automatic_mode (#​4465)

BUG FIXES:

  • resource/cloudflare_access_application: Fix access application saas apps attributes crashing provider when no changes were made to those (#​4843)

DEPENDENCIES:

  • provider: bump github.com/cloudflare/cloudflare-go from 0.112.0 to 0.113.0 (#​4826)
  • provider: bump golang.org/x/net from 0.33.0 to 0.34.0 (#​4837)

v4.49.1

Compare Source

Functionally the same as v4.49.0 but retagged to fix the Terraform Registry having a bad checksum due to a failed build asset being used.

v4.49.0

Compare Source

  • resource/cloudflare_teams_location: remove unusable policy_ids attribute (#​4817)

FEATURES:

  • New Resource: cloudflare_content_scanning_expression (#​4734)
  • New Resource: cloudflare_content_scanning (#​4719)

ENHANCEMENTS:

  • resource/access_application: support multi-valued + Access service token authentication for SCIM provisioning to Access applications (#​4743)

BUG FIXES:

  • resource/cloudflare_ruleset: handle when disable_stale_while_updating is an empty object but not nil (#​4814)

DEPENDENCIES:

  • provider: bump github.com/cloudflare/cloudflare-go from 0.111.0 to 0.112.0 (#​4803)
  • provider: bump github.com/hashicorp/terraform-plugin-framework-validators from 0.15.0 to 0.16.0 (#​4762)
  • provider: bump golang.org/x/crypto from 0.21.0 to 0.31.0 in /tools (#​4755)
  • provider: bump golang.org/x/crypto from 0.30.0 to 0.31.0 (#​4756)
  • provider: bump golang.org/x/net from 0.32.0 to 0.33.0 (#​4802)

v4.48.0

Compare Source

NOTES:

FEATURES:

  • New Resource: cloudflare_leaked_credential_check (#​4674)
  • New Resource: cloudflare_leaked_credential_check_rule (#​4676)
  • New Resource: cloudflare_snippet (#​4565)
  • New Resource: cloudflare_snippet_rules (#​4565)

ENHANCEMENTS:

  • resource/access_application: add support for destinations and domain_type (#​4661)
  • resource/access_identity_provider: document scim_config fields (#​4721)
  • resource/cloudflare_access_policy: adds support for Access infrastructure allow_email_alias connection rule flag (#​4665)
  • resource/cloudflare_ruleset: improve diffs when only some rules are changed (#​4697)
  • resource/cloudflare_teams_list: use PUT call to update list items (#​4737)
  • resource/cloudflare_zero_trust_access_policy: adds support for Access infrastructure allow_email_alias connection rule flag (#​4665)

BUG FIXES:

  • resource/cloudflare_authenticated_origin_pulls: Fix issue where resources are disabled instead of being destroyed on tf destroy (#​4649)
  • resource/cloudflare_leaked_credential_check_rule: Fix bug in update method (#​4741)

DEPENDENCIES:

  • provider: bump github.com/cloudflare/cloudflare-go from 0.110.0 to 0.111.0 (#​4709)
  • provider: bump golang.org/x/net from 0.31.0 to 0.32.0 (#​4718)

v4.47.0

Compare Source

ENHANCEMENTS:

  • resource/cloudflare_access_application: support SCIM schema strictness setting for outbound provisioning (#​4419)
  • resource/cloudflare_access_identity_provider: Adds identity update behavior field in SCIM configuration (#​4602)
  • resource/cloudflare_notification_policy: Added support for D1 in the cloudflare_notification_policy resource and data source. (#​4615)
  • resource/cloudflare_notification_policy: add support for image_resizing_notification alert type (#​4588)
  • resource/cloudflare_r2_bucket: Added support for Oceania region in location hints. (#​4660)

BUG FIXES:

  • resource/cloudflare_logpush_job: add dlp_forensic_copies to allowed dataset values (#​4598)
  • resource/cloudflare_zero_trust_access_policy: make gsuite parameters required (#​4597)

DEPENDENCIES:

  • provider: bump github.com/cloudflare/cloudflare-go from 0.109.0 to 0.110.0 (#​4632)
  • provider: bump github.com/hashicorp/terraform-plugin-testing from 1.10.0 to 1.11.0 (#​4613)
  • provider: bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#​4663)

v4.46.0

Compare Source

ENHANCEMENTS:

  • resource/cloudflare_waiting_room: add "bg-BG", "hr-HR", "cs-CZ", "da-DK", "fi-FI", "lt-LT", "ms-MY", "nb-NO", "ro-RO", "el-GR", "he-IL" "hi-IN", "hu-HU", "sr-BA", "sk-SK", "sl-SI", "sv-SE", "tl-PH", "th-TH", "uk-UA", and "vi-VN" to default_template_language field (#​4509)

BUG FIXES:

  • resource/cloudflare_certificate_pack: Fix importing existing resources issue due to 3 ignored required fields in importer (#​4544)
  • resource/cloudflare_list: Don't read list items if there are none configured (#​4511)
  • resource/cloudflare_zero_trust_list: Consider items_with_description when updating a ZT list (#​4477)
  • resource/turnstile: Force recreate on region update (#​4496)

DEPENDENCIES:


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 PR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/cloudflare-5.x branch from f880b9f to 4a2bf2b Compare February 13, 2025 06:02
@renovate renovate bot force-pushed the renovate/cloudflare-5.x branch from 4a2bf2b to 6c8cdc8 Compare March 21, 2025 01:54
@renovate renovate bot force-pushed the renovate/cloudflare-5.x branch from 6c8cdc8 to e38aa99 Compare April 9, 2025 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants