Knowledge is Power

Sitewide Search

Search Bare Metal Cyber

Search exact control and technique identifiers, Cyber Wiki articles, framework records, playbooks, books, podcasts, Academy courses, individual lessons, and BMC Cyber Challenge activities.

Infrastructure as codeAdvanced

Infrastructure State Management

Infrastructure state management records the relationship between declared resources and real deployed objects so automation can plan changes safely.

What it means

Infrastructure state management records the relationship between declared resources and real deployed objects so automation can plan changes safely.

Why it matters

Lost, stale, exposed, or concurrently modified state can cause destructive plans, configuration drift, credential exposure, and incorrect ownership.

Practical focus

  • Define the system boundary, accountable owner, approved purpose, material risks, and decision authority for Infrastructure State Management
  • Protect remote state with access control, encryption, locking, backups, versioning, environment separation, sensitive-value handling, and controlled recovery.
  • Collect and protect this evidence: backend configuration, state access logs, lock history, backups, recovery tests, plan output, and reconciliation results.
  • Exercise this failure scenario as a planned test: two pipelines update the same state concurrently and one destroys resources created by the other.

Common mistakes

  • Using the label Infrastructure State Management without defining the exact systems, data, people, decisions, and time period in scope
  • Treating a policy statement or tool demonstration as proof that Infrastructure State Management operates consistently in production
  • Failing to retain backend configuration, state access logs, lock history, backups, recovery tests, plan output, and reconciliation results in a form that lets an independent reviewer reconstruct decisions and changes
  • Testing only the normal path and never rehearsing what happens when two pipelines update the same state concurrently and one destroys resources created by the other.

Certification relevance

This subject appears in or supports the following certification bodies of knowledge:

CompTIA AutoOps+

Authoritative sources