chore(regional_tiered_cache): add state upgraders logic#6838
Merged
vaishakdinesh merged 2 commits intonextfrom Mar 4, 2026
Merged
chore(regional_tiered_cache): add state upgraders logic#6838vaishakdinesh merged 2 commits intonextfrom
vaishakdinesh merged 2 commits intonextfrom
Conversation
mgirouard
approved these changes
Feb 25, 2026
ssicard
approved these changes
Feb 25, 2026
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.
Changes being requested
Acceptance test run results
Steps to run acceptance tests
TF_MIG_TEST=true TF_ACC=1 TF_MIGRATE_BINARY_PATH=/Users/rotematzaba/cf-repos/terraform-devstack/tf-migrate/tf-migrate go test ./internal/services/regional_tiered_cache/migration/... -v -run "TestMigrate"
Test output
=== RUN TestMigrateRegionalTieredCache_V4ToV5_On
=== RUN TestMigrateRegionalTieredCache_V4ToV5_On/from_v4_latest
=== RUN TestMigrateRegionalTieredCache_V4ToV5_On/from_v5
--- PASS: TestMigrateRegionalTieredCache_V4ToV5_On (11.96s)
--- PASS: TestMigrateRegionalTieredCache_V4ToV5_On/from_v4_latest (7.65s)
--- PASS: TestMigrateRegionalTieredCache_V4ToV5_On/from_v5 (4.31s)
=== RUN TestMigrateRegionalTieredCache_V4ToV5_Off
=== RUN TestMigrateRegionalTieredCache_V4ToV5_Off/from_v4_latest
=== RUN TestMigrateRegionalTieredCache_V4ToV5_Off/from_v5
--- PASS: TestMigrateRegionalTieredCache_V4ToV5_Off (9.13s)
--- PASS: TestMigrateRegionalTieredCache_V4ToV5_Off/from_v4_latest (5.66s)
--- PASS: TestMigrateRegionalTieredCache_V4ToV5_Off/from_v5 (3.47s)
PASS
ok github.com/cloudflare/terraform-provider-cloudflare/internal/services/regional_tiered_cache/migration/v500 23.293s
Additional context & links