Migrate Terraform to OpenTofu in 2026: Encrypt Your State
Migrate Terraform to OpenTofu with a clean tofu init -upgrade, then encrypt your existing state using PBKDF2 and AES-GCM. A step-by-step, runnable 2026 guide.
Migrate Terraform to OpenTofu with a clean tofu init -upgrade, then encrypt your existing state using PBKDF2 and AES-GCM. A step-by-step, runnable 2026 guide.
Hands-on tutorial: deploy to multiple AWS accounts from GitHub Actions with one OIDC hub role, sts:TagSession, role-chaining: true, and the 1-hour cap (2026).
Deploy Terraform to AWS from GitHub Actions with no long-lived secrets — configure-aws-credentials v6, IAM role trust policy, sub-claim hardening (2026).
Enable Terraform S3 native state locking with use_lockfile - no DynamoDB table required. Set up the backend, migrate an existing project, lock down IAM.
Infrastructure as Code fundamentals for 2026: Terraform, OpenTofu, Pulumi, Crossplane. State management, modules, and the patterns teams actually ship with.