From b1612419523ee4bfbb8942f3ba793ceafa042218 Mon Sep 17 00:00:00 2001 From: Justin Hutchings Date: Tue, 6 May 2025 09:46:38 -0700 Subject: [PATCH 1/2] Add v5.4.0 changelog --- .../2025-05-06-terraform-v5.4.0-provider.mdx | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 src/content/changelog/fundamentals/2025-05-06-terraform-v5.4.0-provider.mdx diff --git a/src/content/changelog/fundamentals/2025-05-06-terraform-v5.4.0-provider.mdx b/src/content/changelog/fundamentals/2025-05-06-terraform-v5.4.0-provider.mdx new file mode 100644 index 000000000000000..02caf6f3c740390 --- /dev/null +++ b/src/content/changelog/fundamentals/2025-05-06-terraform-v5.4.0-provider.mdx @@ -0,0 +1,81 @@ +--- +title: Terraform v5.4.0 now available +description: Terraform v5.4.0 fixes a number of known bugs in the v5 Provider +products: + - fundamentals +date: 2025-05-06 +--- + +Earlier this year, we announced the launch of the new [Terraform v5 Provider](/changelog/2025-02-03-terraform-v5-provider/). Unlike the earlier Terraform providers, v5 is automatically generated based on the OpenAPI Schemas for our REST APIs. Since launch, we have seen an unexpectedly high number of [issues](https://github.com/cloudflare/terraform-provider-cloudflare) reported by customers. These issues currently impact about 15% of resources. We have been working diligently to address these issues across the company, and have released the v5.4.0 release which includes a number of bug fixes. Please keep an eye on this changelog for more information about upcoming releases. + +### Changes + +- Removes the `worker_platforms_script_secret` resource from the provider +- Removes duplicated fields in `cloudflare_cloud_connector_rules` resource [#5418](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5418#top) +- Fixes `cloudflare_workers_route` id issues [#5134](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5134) [#5501](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5501) +- Fixes issue around refreshing resources that have unsupported response types +
+ Affected resources + +
+- Fixes `cloudflare_workers_kv` state refresh issues +- Fixes issues around configurability of nested properties without computed values for the following resources +
+ Affected resources + +
+ +The detailed [changelog](https://github.com/cloudflare/terraform-provider-cloudflare/releases/tag/v5.4.0) is available on GitHub. + +### Upgrading + +If you are evaluating a move 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 either by reporting to our [GitHub repository](https://github.com/cloudflare/terraform-provider-cloudflare), or by opening a [support ticket](https://www.support.cloudflare.com/s/?language=en_US). + +### For more info + +- [Terraform provider](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs) +- [Documentation on using Terraform with Cloudflare](https://developers.cloudflare.com/terraform/) From c1ada7d954c4aef9359b4e03c3bf4d99f2eaa86c Mon Sep 17 00:00:00 2001 From: Justin Hutchings Date: Wed, 7 May 2025 11:05:10 -0700 Subject: [PATCH 2/2] Removed erroneous fix number --- .../fundamentals/2025-05-06-terraform-v5.4.0-provider.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/changelog/fundamentals/2025-05-06-terraform-v5.4.0-provider.mdx b/src/content/changelog/fundamentals/2025-05-06-terraform-v5.4.0-provider.mdx index 02caf6f3c740390..06b363e3394c7d5 100644 --- a/src/content/changelog/fundamentals/2025-05-06-terraform-v5.4.0-provider.mdx +++ b/src/content/changelog/fundamentals/2025-05-06-terraform-v5.4.0-provider.mdx @@ -11,7 +11,7 @@ Earlier this year, we announced the launch of the new [Terraform v5 Provider](/c ### Changes - Removes the `worker_platforms_script_secret` resource from the provider -- Removes duplicated fields in `cloudflare_cloud_connector_rules` resource [#5418](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5418#top) +- Removes duplicated fields in `cloudflare_cloud_connector_rules` resource - Fixes `cloudflare_workers_route` id issues [#5134](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5134) [#5501](https://github.com/cloudflare/terraform-provider-cloudflare/issues/5501) - Fixes issue around refreshing resources that have unsupported response types