Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

state_file

Provides persistent state storage using a JSON file. This resource implements the state provider interface, allowing it to store state for other stateful resources.

The state file uses JSON Patch (RFC 6902) operations to track incremental changes, enabling efficient updates and providing an audit trail of all state modifications.

See also: State, State File Schema

State Required: No

Inputs

inputs.name

The path to the JSON state file. This file will store the deployment state using a sequence of JSON Patch operations.

Type: string

Declared by:

Outputs

(none)