Repository navigation
chore(deps): update terraform cloudflare to v5.30.0 - #3657
Open
self-hosted-renovate-mm[bot] wants to merge 1 commit into
Open
self-hosted-renovate-mm[bot] wants to merge 1 commit into
self-hosted-renovate-mm[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.29.0→5.30.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
cloudflare/terraform-provider-cloudflare (cloudflare)
v5.30.0Compare Source
Full Changelog: v5.29.0...v5.30.0
⚠ BREAKING CHANGES
direction,filter,order,pageandper_pagearguments have been removed from the resource. They are list-query parameters that were never used when creating or updating a widget, and their defaults made every widget upgraded from older state plan an in-place update. Remove them from any configuration; a configuration that still sets them fails with an "Unsupported argument" error. Stored values are dropped automatically. Thecloudflare_turnstile_widgetslist data source keeps its query parameters.bindings[].outbound.paramsis now a list of objects instead of a list of strings, matching the Workers API. Changeparams = ["foo", "bar"]toparams = [{ name = "foo" }, { name = "bar" }]. An automatic state upgrade converts stored string values to objects.serversis now a list instead of a set on the resource and on thecloudflare_zero_trust_access_ai_controls_mcp_portalandcloudflare_zero_trust_access_ai_controls_mcp_portalsdata sources. This removes the slow plans for portals with many servers. An automatic state upgrade converts existing state. Order in configuration is now significant: reorderingserversplans an in-place update, and the first plan after upgrading may show one if your configuration order differs from the order byserver_id.valueis now dynamic instead of a string, so settings whose API value is a number, list or object (for examplebrowser_cache_ttl,ciphers,security_header) return their value instead of null. String settings read as before. Update expressions that treated non-string settings as strings.include_subdomainsis now a bool instead of a string, matching the API. It was always null before. Update any comparisons against"true"or"false"to use booleans.consumer_idis now required, and the data source looks up that consumer. Every read of the data source failed in v5.29.0. Setconsumer_idin the data source configuration.account_idis now required. Set it in the data source configuration.<account_id>/<key_id>. A bare<account_id>import ID, accepted by v5.29.0, now fails with an error that lists the account's signing key IDs.Notes
Retry-AfterorRetry-After-Msheader from the API sets the wait. Large plans and applies may take longer but should no longer fail with 429 errors. Use the newrps,retries,min_backoffandmax_backoffprovider arguments, or theCLOUDFLARE_V5_RPS,CLOUDFLARE_V5_RETRIES,CLOUDFLARE_V5_MIN_BACKOFFandCLOUDFLARE_V5_MAX_BACKOFFenvironment variables, to change them;rps = 0turns pacing off andretries = 0turns retries off.golang.org/x/net,golang.org/x/textandgoogle.golang.org/grpcare raised to versions with security fixes.rule_settings,scheduleandexpirationare now optional and no longer computed. The provider manages only what your configuration sets: leaving one of them out now removes it from the policy on the next apply, and the plan shows-> null. Previously the provider kept the old value in the plan while the API cleared it. To keep a policy's rule settings, schedule or expiration, put them in your configuration (terraform state showlists the current values).rule_settings.biso_admin_controls.versionno longer defaults to"v1".placement.targetand itsregion,hostnameandhostare now configurable, so targeted placement works.placement.targetrequiresmode = "targeted", andmode = "targeted"requires at least one target. The top-levelplacement.region,placement.hostnameandplacement.hostare rejected at plan time with a message pointing tomode = "targeted"andtarget; they were read-only before, so no working configuration used them.variationsis now a dynamic attribute instead ofmap(string), so variation values can be booleans, numbers, strings, or JSON objects and arrays. Existing configurations that use a map of strings, such asvariations = { on = "true", off = "false" }, need no change, and an automatic state upgrade converts state written by v5.29.0 and earlier. To serve typed values, write them natively (variations = { on = true, off = false }); module variables or outputs typed asmap(string)that pass this attribute may then needany.hide_original_ipis now optional and deprecated. It is stored but has no effect on traffic; when omitted, the previously stored value is kept.summarization,summarization_modelandsystem_prompt_index_summarizationare deprecated and ignored during indexing and search. Useindexing_options.file_summaryinstead. Changingsummarizationorsummarization_modelstill re-indexes existing files on the next sync.always_exclude,always_includeandspeed_test_settingsattributes are deprecated and ignored by the API; do not set them.scopesvalues are now validated at plan time against the accepted services (access,agents,ai_gateway,containers,dex,websearch,workers).url, or adding, changing or removingsecret, now replaces the webhook, which gets a new ID. The API's update endpoint applies onlyname, so in v5.29.0 such a change was silently not applied. Notification policies that reference the webhook update in place. After an import, or an upgrade from state that holds the redacted URL, expect one in-place update that stores the configuredurl. Because the API never returnssecret, an imported webhook whose configuration setssecretis replaced once.auto_redirect_to_identity,enable_binding_cookieandoptions_preflight_bypassas null when the API returnsfalse, so configurations that omit them import without a diff. A configuration that sets one of them tofalseexplicitly sees one in-place update after import.terraform state rm(or use aremovedblock withdestroy = false) instead.observability.agentsattribute requires the Workers observability agents feature on the account; without it the API rejectsagents.enabled = true. The API currently does not returnagentsin responses, so settingagentsin configuration plans an update on every run. Leaveagentsunset until this is resolved.Features
New Resources
/.well-known/security.txt, including contacts, expiry, encryption keys, policies, acknowledgments, hiring links, canonical URIs and preferred languages.enabledis required. Supportsterraform importusing the zone ID.terraform importusing the account ID.New Data Sources
cloudflare_security_txt,cloudflare_security_insights_configuration,cloudflare_waf_payload_logging_key).New Attributes
rps,retries,min_backoffandmax_backoffto tune request pacing and retries.multiprovider_enabledto let requests to a model use every provider that serves it; computedinternal_id.indexing_options.file_summary,source_params.d1for D1 sources, andsource_params.web_crawler.parse_options.browser_rendering_wait_until.fieldsfilter;file_size,num_tablesandrecommendation_countin results.cursorandprev_cursorfor cursor pagination (also on thecloudflare_dns_recorddata sourcefilter).limitandoffset.destination_name(also on thecloudflare_logpush_dataset_jobdata source).filters.alert_trigger_preferences_long_window,alert_trigger_preferences_minimum_threshold,alert_trigger_preferences_operator,alert_trigger_preferences_short_window,check_id,execution_interval,query_id,sourceandtotal_spend_dollars.outdated.latest,used_byandversion.id.force_destroyto delete every object in a bucket before destroying it. Objects are deleted permanently.catalog_uri.include_rules.edge_alpn_protocolsto set the ALPN protocols the edge offers on client TLS connections.customer_code,encoding_modeandpreview_status.key_idcan be set to select a key; it is required when the account has several keys.observability.agents,observability.redact_query_stringandpreviews_base_config.observability.agents;immutable_idon the data source.trusted_workersis now configurable.bindings.outbound.worker.entrypoint,observability.agentsandobservability.redact_query_string.destinations.overridesto make matching paths of public and Worker destinations bypass Access;session_durationon inlinepolicies.config.metadata_urlfor SAML providers that publish signing certificates in a metadata document.enable_netbt.descriptionandenable_netbt.id.regioncan be set at creation to pin the certificate authority's key material to a Data Localization Suite region. Changing it forces replacement; omitting it keeps the stored value.settings.regionsfor per-region TLS interception and certificate settings.behaviors.points;behaviors.risk_levelis now optional.New Accepted Values
rate_plan.idis no longer limited to the named plans and accepts product rate plan IDs.alert_typeaccepts 22 new alert types, includingbilling_budget_alert,magic_endpoint_healthcheck_alert,open_port_scan_alert,closed_port_scan_alert,workers_observability_alertandlog_explorer_scheduled_query_results_alert.bindings.typeacceptsworker_loader.input.compliance_statusacceptsconflictandconfigmanager.Other
terraform importusing<account_id>/<queue_id>/<consumer_id>.terraform importusing<account_id>/<bucket_name>/<domain>, optionally followed by/<jurisdiction>.Bug Fixes
Idempotency-Keyso creating a standalone account no longer fails, and keepstandalonein state; stopcloudflare_accountsfetching the same account repeatedly with an account-owned token.ipsandmembershipsin place, readipsfrom the API, and upgrade v4 state.bot_preference_sync_enabledandcf_robots_variant, and sendcontent_bots_protection; keep planned values when an update response omits them; sendai_training,ai_userandaisearchonly when configured.keyfrom the create response.uploaded_ondrift on every refresh.created_atunknown on update, fixing "Provider produced inconsistent result after apply".proxiableas unknown whenname,typeorcontentchanges.nameplanning an update on every run; keeptagknown across updates.modified_onunknown when an update is planned.descriptionon refresh.descriptionormembers.portand load-shedding percentages.mechanisms.urlwhen the API returns its redacted display form.cloudflare_organizationsdata sourceparent.idfilter optional.requested_validityafter import; do not fail the plan on unknown hostnames; keeprevoked_atfrom state when nothing is replaced.placement.pages_projectbindings and dropped fields in other resources); remove resources with dynamic attributes from state when they are deleted outside Terraform.dead_letter_queue.<account_id>/<key_id>on import; refuse to delete a key the state does not identify.secretknown across in-place updates; changingregionnow replaces the widget instead of failing.deployed_onchange when a deploy lands before apply.environmentvalues forcing replacement, and replanenvironmentwhen a binding changes target; keepinheritbindings; match bindings by name on read; keep targeted placement from drifting after refresh.schedulesfrom the API, including on import.enabledfrom older API responses; warn on overrides that set onlyname; refreshon_behalfcorrectly.statusdrift and empty override churn; do not pinmodified_atandmodified_byon update.mcpanddash_ssosettings to the API; plan an app launcherlanding_page_design = {}without the default title.reusableandupdated_aton a no-op plan; keep an emptypurpose_justification_prompton refresh.icmp_proxy_enabledorofframp_warp_enabledkeeps the current value instead of failing.gateway_unique_idfrom state in plans.includeandexclude, and handle empty lists;virtual_networks.allowedandvirtual_networks.defaultmay be omitted when updating.schedule; warn when a gateway, warp or tanium rule sets an ignored attribute.networknow replaces the subnet instead of failing.confidence_thresholdaslow.max_ttlornetworksis unset; defaultdns64_enabledtofalseto match the API.rule_settings,scheduleandexpiration; stop"" -> nulldiffs on unsetdescriptionandschedule.time_zone; plan stable read-only attributes from state on update.commentnow clears it instead of failing.configis omitted.hano longer plans an update the API refuses; refreshhafrom the tunnel metadata.ha_mode.statuswhile DNSSEC is pending.include_subdomainson the resource and after import.aegissetting that stays disabled.Documentation
audit_sshline from the v5 upgrade guide;audit_sshwas removed, not converted to a nested attribute.terraform state rmandterraform importfor renamed resources, sinceterraform state mvcannot change a resource type; list the renamed resources that cannot be imported; correct thecloudflare_zero_trust_device_default_profile_certificatesandcloudflare_zero_trust_gateway_app_types_listnames.rule_settings,scheduleandexpirationoncloudflare_zero_trust_gateway_policymust stay in configuration, and correct the gateway policy rows of the perpetual-diff table.tls_1_3and0rttinteract;proxy_read_timeoutis a string of seconds.Configuration
📅 Schedule: (in timezone Europe/Amsterdam)
* 0-6 * * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate CLI.