Skip to content

doc: correct the Terraform paragraph in the drop-in-use-index design doc - #40475

Merged
ggevay merged 1 commit into
MaterializeInc:mainfrom
ggevay:gabor/drop-in-use-index-terraform-doc
Nov 4, 2026
Merged

ggevay merged 1 commit into
MaterializeInc:mainfrom
ggevay:gabor/drop-in-use-index-terraform-doc

Conversation

@ggevay

@ggevay ggevay commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #39098: the Terraform paragraph it added to the design doc has two errors. I've corrected the same paragraph in #39098's description, since the release notes are generated from it.

  • Affected versions: it said "up to v0.11.10". Every released provider version fails the replacement: v0.11.11 and v0.11.12 fail it the same way, and v0.11.13 has no index changes.
  • What fixes it: it said that terraform-provider-materialize#952 and #953 fix the provider, and that replace_triggered_by is the workaround until users upgrade. With both, replacing an index that a materialized view reads still fails, after a minute of retries. #952 only helps when the readers are dropped in the same run, such as in terraform destroy. replace_triggered_by is the way to replace such an index with any provider version, and #953 documents it.

Verified against #39098's CI image with provider v0.11.11, v0.11.12 and a build of terraform-provider-materialize#953, which includes #952.

🤖 Generated with Claude Code

The paragraph said only provider versions up to v0.11.10 are affected and that
terraform-provider-materialize#952 and MaterializeInc#953 fix the provider. Every released
version fails to replace an index that a materialized view reads, and so does a
provider with both PRs. replace_triggered_by on the view is the way to replace
such an index with any provider version.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ggevay
ggevay marked this pull request as ready for review November 4, 2026 15:03
@ggevay
ggevay requested a review from mgree November 4, 2026 15:03

@mgree mgree left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, and sorry for the mistake!

@ggevay

ggevay commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

No problem!

@ggevay
ggevay merged commit 2d39871 into MaterializeInc:main Nov 4, 2026
10 checks passed
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.

2 participants