Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the initial state for a state files from a backend, allow the run that defines a backend to write state to the backend #36646

Draft
wants to merge 5 commits into
base: f-controlling-destroys
Choose a base branch
from

Conversation

SarahFrench
Copy link
Member

This PR builds on #36541

Now that test files' run blocks can include backend blocks, this PR allows:

  • Backend blocks to set the initial value for a given internal state/state key
  • Writes to the state contained in the backend. This is only allowed for the apply operation that comes from the run block that defines the backend.

Target Release

1.12.x

CHANGELOG entry

  • This change is user-facing and I added a changelog entry.
  • This change is not user-facing.

Will add a changelog in the final PR into main

@SarahFrench SarahFrench added the no-changelog-needed Add this to your PR if the change does not require a changelog entry label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog-needed Add this to your PR if the change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant