Skip to content
Valdemar Støvring Storgaard
Home Docs Projects
Ctrl+K

Menu

Home
Docs
Projects
  • Node.js
    • Introduction to Node.js
    • First Server
    • POST & Loops
    • Time, Fetch and Deployment
    • Modern Node.js
    • Development Basics
    • Advanced Node.js Concepts
  • Terraform Pills
    • IaC Fundamentals
    • Basics
    • Project Initialization
    • Resources
    • Data Sources
    • Variables
    • Outputs
    • Complex Types
    • Meta Arguments
    • Functions & Expressions
    • Sensitive Data & Vault
    • Plan, Apply & Destroy
    • Formatting
    • Validating
    • Modules
    • State Management
    • Import & State CLI
    • Debugging & Logging
    • HCP Terraform

Full-stack developer notes and project write-ups.

© 2026 Valdemar Støvring Storgaard

LinkedIn

Documentation

  • Node.js
    • Introduction to Node.js
    • First Server
    • POST & Loops
    • Time, Fetch and Deployment
    • Modern Node.js
    • Development Basics
    • Advanced Node.js Concepts
  • Terraform Pills
    • IaC Fundamentals
    • Basics
    • Project Initialization
    • Resources
    • Data Sources
    • Variables
    • Outputs
    • Complex Types
    • Meta Arguments
    • Functions & Expressions
    • Sensitive Data & Vault
    • Plan, Apply & Destroy
    • Formatting
    • Validating
    • Modules
    • State Management
    • Import & State CLI
    • Debugging & Logging
    • HCP Terraform

Full-stack developer notes and project write-ups.

© 2026 Valdemar Støvring Storgaard

LinkedIn
  1. Documentation
  2. Terraform Pills
  3. State Management

State Management

Local and remote backends, state locking, and handling resource drift.

(what state is and how Terraform reconciles it already covered under Resources)

The local backend

Remote state and the backend block

State locking

Resource drift and refresh-only mode

moved and removed blocks

← Previous Modules Next → Import & State CLI

On this page

  • The local backend
  • Remote state and the backend block
  • State locking
  • Resource drift and refresh-only mode
  • moved and removed blocks