Skip to content

Conversation

@ferhatelmas
Copy link
Member

@ferhatelmas ferhatelmas commented Dec 17, 2025

resolves #6542

  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Save key raw in state and encode whenever needed.

Acceptance test run results

  • I have added or updated acceptance tests for my changes
  • I have run acceptance tests for my changes and included the results below

Steps to run acceptance tests

  • terraform apply
  • terraform apply

Test output

Additional context & links

https://github.com/ferhatelmas/terraform-provider-cloudflare-6542

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

keys_created = [
  "config/app/name",
  "config/app/version",
  "users/admin/settings",
  "data/nested/deep/key",
]
namespace_id = "d2ad2910501f4cb899022b1d7ac35429"
namespace_title = "terraform-test-namespace"

resolves cloudflare#6542

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
Copy link

@radev radev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer fixing this in generate Go client (by escaping for every customer), but that would be a breaking change, I guess?

@ferhatelmas
Copy link
Member Author

Yes. Otherwise I would prefer it as well.

@musa-cf
Copy link
Contributor

musa-cf commented Dec 19, 2025

We can upstream this change into the Go SDK to ensure that SDK users have it fixed too. If that gets done, we can close this PR.

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.

cloudflare_workers_kv - Provider produced inconsistent result after apply when key_value contains backslash

3 participants