Skip to content

chore/cloudflare: enable DNS record state migrations - #45

Draft
keegancsmith wants to merge 1 commit into
mainfrom
k/cloudflare-5-17-migrations
Draft

chore/cloudflare: enable DNS record state migrations#45
keegancsmith wants to merge 1 commit into
mainfrom
k/cloudflare-5-17-migrations

Conversation

@keegancsmith

Copy link
Copy Markdown
Member

The MSP Cloudflare migration needs Terraform to transfer legacy cloudflare_record state into cloudflare_dns_record. Provider 5.7.1 exposes the new resource but does not implement Terraform's cross-resource-type move protocol, so plans against existing state would fail.

This regenerates the Cloudflare CDKTF bindings with provider 5.17.0, the first release containing the DNS record MoveState handler. It also updates the generator's HashiCorp installer dependency and Go toolchain because the previous embedded signing key has expired and prevents reproducible generation.

The generated DNS record, zone lookup, IP range, and provider packages compile successfully. The dependent Sourcegraph migration will synthesize and validate a real MSP canary before rollout.

Cloudflare provider 5.7.1 cannot move legacy cloudflare_record state into cloudflare_dns_record, so attempting the MSP migration would fail during planning. Upgrade the generated bindings to the first provider release with the required MoveState handler.

Refresh the generator's installer dependencies and Go toolchain because the previous HashiCorp signing key has expired and prevents reproducible generation.

Amp-Thread-ID: https://ampcode.com/threads/T-019fb75b-c68c-768d-934d-042d44985f72
Co-authored-by: Amp <amp@ampcode.com>
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.

1 participant