Terraform State And Secrets Pitfalls

Use when Terraform or OpenTofu state, a backend or a secret handled by a configuration is written or reviewed: what state holds and who can read it, the remote backend baseline (S3 encryption and locking, a bootstrap root, no credentials in HCL), locks and force-unlock, migrating state between backends (migrate-state versus reconfigure), and secrets in state (sensitive only masks, ephemeral and write-only arguments, data sources and random_password, nonsensitive, rotation).

techmefr Updated

File contents

techmefr/mentis commit 4822ed1e6d

Frequently asked questions

npx get-skill add techmefr/terraform-state-and-secrets-pitfalls