-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Terraform v7 v8x #24558
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
Merged
+107
−0
Merged
Terraform v7 v8x #24558
Changes from 10 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
7d5ed4f
Create 2025-07-11-terraform-v5.7.0-provider.mdx
KaydeeDee 3964b73
Update 2025-07-11-terraform-v5.7.0-provider.mdx
KaydeeDee 813575a
Update 2025-07-11-terraform-v5.7.0-provider.mdx
KaydeeDee f0e0a25
Merge branch 'cloudflare:production' into production
KaydeeDee b5caa58
Merge branch 'cloudflare:production' into production
KaydeeDee 50c51f2
Update 2025-07-11-terraform-v5.7.0-provider.mdx
KaydeeDee 7ab7ccd
Update src/content/changelog/fundamentals/2025-07-11-terraform-v5.7.0…
KaydeeDee 3b99968
Update src/content/changelog/fundamentals/2025-07-11-terraform-v5.7.0…
KaydeeDee 8501aa4
Create 2025-08-01-terraform-v5.8.2-provider.mdx
KaydeeDee 6ca8eb6
Merge pull request #5 from KaydeeDee/KaydeeDee-v5.8.2
KaydeeDee 9ce8c90
Update src/content/changelog/fundamentals/2025-08-01-terraform-v5.8.2…
KaydeeDee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
src/content/changelog/fundamentals/2025-07-11-terraform-v5.7.0-provider.mdx
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| --- | ||
| title: Terraform v5.7.0 now available | ||
| description: Terraform v5.7.0 fixes a number of known bugs in the v5 Provider | ||
| products: | ||
| - fundamentals | ||
| date: 2025-07-14 | ||
| --- | ||
|
|
||
| Earlier this year, we announced the launch of the new [Terraform v5 Provider](/changelog/2025-02-03-terraform-v5-provider/). We are aware of the high mumber of [issues](https://github.com/cloudflare/terraform-provider-cloudflare) reported by the Cloudflare community related to the v5 release, with 13.5% of resources impacted. We have committed to releasing improvements on a 2 week cadeance to ensure it's stability and relability, including the v5.7 release. | ||
|
|
||
| Thank you for continuing to raise issues and please keep an eye on this changelog for more information about upcoming releases. | ||
|
|
||
| ### Changes | ||
| - Addressed permanent diff bug on Cloudflare Tunnel config | ||
| - State is now saved correctly for Zero Trust Access applications | ||
| - Exact match is now working as expected within `data.cloudflare_zero_trust_access_applications` | ||
| - `cloudflare_zero_trust_access_policy` now supports OIDC claims & diff issues resolved | ||
| - Self hosted applications with private IPs no longer require a public domain for `cloudflare_zero_trust_access_application`. | ||
| - New resource: | ||
| - `cloudflare_zero_trust_tunnel_warp_connector` | ||
| - Other bug fixes | ||
|
|
||
| For a more detailed look at all of the changes, see the | ||
| [changelog](https://github.com/cloudflare/terraform-provider-cloudflare/releases/tag/v5.7.0) in GitHub. | ||
|
|
||
| ### Issues Closed | ||
| - [#5563: cloudflare_logpull_retention is missing import](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5563) | ||
| - [#5608: cloudflare_zero_trust_access_policy in 5.5.0 provider gives error upon apply unexpected new value: .app_count: was cty.NumberIntVal(0), but now cty.NumberIntVal(1)](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5608) | ||
| - [#5612: data.cloudflare_zero_trust_access_applications does not exact match](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5612) | ||
| - [#5532: cloudflare_zero_trust_access_identity_provider detects changes on every plan](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5532) | ||
| - [#5662: cloudflare_zero_trust_access_policy does not support OIDC claims](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5662) | ||
| - [#5565: Running Terraform with the cloudflare_zero_trust_access_policy resource results in updates on every apply, even when no changes are made - breaks idempotency](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5565) | ||
| - [#5529: cloudflare_zero_trust_access_application: self hosted applications with private ips require public domain ](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5529) | ||
|
|
||
|
|
||
| If you have an unaddressed issue with the provider, we encourage you to check the [open issues](https://github.com/cloudflare/terraform-provider-cloudflare/issues) and open a new one if one does not already exist for what you are experiencing. | ||
|
|
||
| ### Upgrading | ||
|
|
||
| We suggest holding on migration to v5 while we work on stablization of the v5 provider. This will ensure Cloudflare can work ahead and avoid any blocking issues. | ||
|
|
||
| If you'd like more information on migrating from v4 to v5, please make use of the | ||
| [migration guide](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/guides/version-5-upgrade). We have | ||
| provided automated migration scripts using Grit which simplify the transition, although these do not support implementations which | ||
| use Terraform modules, so customers making use of modules need to migrate manually. Please make use of `terraform plan` to test | ||
| your changes before applying, and let us know if you encounter any additional issues by reporting to our | ||
| [GitHub repository](https://github.com/cloudflare/terraform-provider-cloudflare). | ||
|
|
||
| ### For more info | ||
|
|
||
| - [Terraform provider](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs) | ||
| - [Documentation on using Terraform with Cloudflare](/terraform/) |
55 changes: 55 additions & 0 deletions
55
src/content/changelog/fundamentals/2025-08-01-terraform-v5.8.2-provider.mdx
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| --- | ||
| title: Terraform v5.8.2 now available | ||
| description: Terraform v5.8.2 stablizes a number of resources and known issues | ||
| products: | ||
| - fundamentals | ||
| date: 2025-08-01 | ||
| --- | ||
|
|
||
| Earlier this year, we announced the launch of the new [Terraform v5 Provider](/changelog/2025-02-03-terraform-v5-provider/). We are aware of the high mumber of [issues](https://github.com/cloudflare/terraform-provider-cloudflare) reported by the Cloudflare community related to the v5 release. We have committed to releasing improvements on a 2 week cadeance to ensure it's stability and reliability. We have also pivoted from an issue-to-issue approach to a resource-per-resource approach - we will be focusing on specific resources for every release, stablizing the release and closing all associated bugs with that resource before moving onto resolving migration issues. | ||
|
|
||
| Thank you for continuing to raise issues. We triage them weekly and they help make our products stronger. | ||
|
|
||
| ### Changes | ||
| - Resources stablized: | ||
| - `cloudflare_custom_pages` | ||
| - `cloudflare_page_rule` | ||
| - `cloudflare_dns_record` | ||
| - `cloudflare_argo_tiered_caching` | ||
| - Addressed chronic drift issues in `cloudflare_logpush_job`, `cloudflare_zero_trust_dns_location`, `cloudflare_ruleset` & `cloudflare_api_token` | ||
| - `cloudflare_zone_subscripton` returns expected values `rate_plan.id` from former versions | ||
| - `cloudflare_workers_script` can now successfully be destroyed with bindings & migration for Durable Objects now recorded in tfstate | ||
| - Ability to configure `add_headers` under `cloudflare_zero_trust_gateway_policy` | ||
| - Other bug fixes | ||
|
|
||
| For a more detailed look at all of the changes, see the [changelog](https://github.com/cloudflare/terraform-provider-cloudflare/releases/tag/v5.8.2) in GitHub. | ||
|
|
||
| ### Issues Closed | ||
| - [#5666: cloudflare_ruleset example lists id which is a read-only field](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5666) | ||
| - [#5578: cloudflare_logpush_job plan always suggests changes](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5578) | ||
| - [#5552: 5.4.0: Since provider update, existing cloudflare_list_item would be recreated "created" state](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5552) | ||
| - [#5670: cloudflare_zone_subscription: uses wrong ID field in Read/Update](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5670) | ||
| - [#5548: cloudflare_api_token resource always shows changes (drift)](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5548) | ||
| - [#5634: cloudflare_workers_script with bindings fails to be destroyed](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5634) | ||
| - [#5616: cloudflare_workers_script Unable to deploy worker assets](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5616) | ||
| - [#5331: cloudflare_workers_script 500 internal server error when uploading python](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5331) | ||
| - [#5701: cloudflare_workers_script migrations for Durable Objects not recorded in tfstate; cannot be upgraded between versions](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5701) | ||
| - [#5704: cloudflare_workers_script randomly fails to deploy when changing compatibility_date](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5704) | ||
| - [#5439: cloudflare_workers_script (v5.2.0) ignoring content and bindings properties](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5439) | ||
| - [#5522: cloudflare_workers_script always detects changes after apply](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5522) | ||
| - [#5693: cloudflare_zero_trust_access_identity_provider gives recurring change on OTP pin login](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5693) | ||
| - [#5567: cloudflare_r2_custom_domain doesn't roundtrip jurisdiction properly](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5567) | ||
| - [#5179: Bad request with when creating cloudflare_api_shield_schema resource](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5179) | ||
|
|
||
| If you have an unaddressed issue with the provider, we encourage you to check the [open issues](https://github.com/cloudflare/terraform-provider-cloudflare/issues) and open a new one if one does not already exist for what you are experiencing. | ||
|
|
||
| ### Upgrading | ||
|
|
||
| We suggest holding off on migration to v5 while we work on stablization. This help will you avoid any blocking issues while the Terraform resources are actively being stablized. | ||
|
|
||
| If you'd like more information on migrating from v5 to v5, please make use of the [migration guide](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/guides/version-5-upgrade). We have provided automated migration scripts using Grit which simplify the transition, although these do not support implementations which use Terraform modules, so customers making use of modules need to migrate manually. Please make use of `terraform plan` to test your changes before applying, and let us know if you encounter any additional issues by reporting to our [GitHub repository](https://github.com/cloudflare/terraform-provider-cloudflare). | ||
|
|
||
| ### For more info | ||
|
|
||
| - [Terraform provider](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs) | ||
| - [Documentation on using Terraform with Cloudflare](/terraform/) | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.