Terraform provider dependency lock files Learn how Terraform provider lock files secure, standardize, and automate version control—plus how to streamlines .terraform.lock.hcl management.
Terraform Input Variables Master Terraform input variables: syntax, types, validation & sensitive data. Practical examples show how to build reusable, secure modules.
Terraform Output Values Learn what Terraform output values are, why they matter, and how to define, reference, and use them to share data across modules and workspaces.
How to Use Terraform local-exec Need to trigger local scripts from Terraform? Learn how local-exec works, with step-by-step syntax, examples, and safeguards for reliable automation.
Terraform Checks: Reliability and Compliance Automated Terraform checks enforce policy, prevent drift, and boost reliability & compliance—see how to make it effortless.
Terraform moved blocks: refactoring without pain Learn how Terraform's ‘moved’ blocks let you rename or relocate resources safely, keep state intact, and refactor infrastructure without downtime.
Terraform Provisioners Guide Learn how to use Terraform provisioners effectively, pitfalls to avoid, best practices and Scalr's approach for safer, automated infrastructure tasks.
Advanced Terraform Workflows with terraform_data Discover how terraform_data unlocks advanced Terraform workflows—simpler dependencies, no external scripts, and cleaner state. Step-by-step examples inside.
All About Terraform Data Sources Master Terraform data sources: discover what they are, when to use them, and how they make your infrastructure code dynamic, DRY, and reusable.
The Ultimate Guide to Terraform Import Master Terraform import in minutes: map existing cloud resources into code, dodge common pitfalls, and streamline your IaC with this step-by-step guide.
Blog Series: Enforcing Policy as Code in Terraform (Part 5 of 5) Finish your policy-as-code journey: Part 5 shows how to apply, test and automate governance in Terraform for secure, compliant cloud deployments.
Blog Series: Enforcing Policy as Code in Terraform (Part 4 of 5) Part 4 shows how to automate Terraform guardrails with Scalr & OPA—write, test, and enforce policies as code across teams without slowing delivery.
Blog Series: Enforcing Policy as Code in Terraform (Part 3 of 5) Part 3 shows how to author and enforce policy-as-code in Terraform with OPA, automating security and compliance checks in every deployment.
Blog Series: Enforcing Policy as Code in Terraform (Part 2 of 5) Part 2 shows practical ways to enforce Policy as Code in Terraform: where checks fit, pick the right tools, and keep infrastructure secure and compliant.
Blog Series: Enforcing Policy as Code in Terraform (Part 1 of 5) Discover why Policy as Code is essential for Terraform governance. Part 1 unpacks benefits, concepts & tools to keep cloud stacks secure and compliant.
Terraform Data Sources Explained: A Beginner's Guide Understand Terraform data sources: pull external data, reference existing resources & avoid duplication. Get syntax, real examples and best-practice tips.
Terraform Drift: a Comprehensive Guide Understand Terraform drift: why configs diverge, tools to detect it, and clear steps to prevent and fix drift for stable, compliant infrastructure.
Enforcing Policy as Code in Terraform: A Comprehensive Guide Master Policy as Code in Terraform—leverage OPA, Sentinel & Scalr to automate compliance, prevent drift, and enforce cloud governance without slowing dev teams.
What are Terraform Provisioners? Understand Terraform provisioners: what they do, when to use or avoid them, and best-practice alternatives for safer, repeatable deployments.
Terraform Module Creation with Cookiecutter Quickly scaffold standardized Terraform modules with Cookiecutter—step-by-step guide, templating tips, and automation best practices.
The Drift Detection Ecosystem - Part 3 Part 3 of our Drift Detection series reviews managed IaC services, shows how each flags drift, and steers you to the best fit for reliable infrastructure.
Managing Drift - Part 2 Learn how to detect, prevent, and remediate Terraform infrastructure drift with automated checks, policy guardrails, and scalable workflows. Part 2.
Understanding & Detecting Infrastructure Drift - Part 1 Understand why infrastructure drift happens, how to spot it in your IaC early, and prevent security, compliance & cost surprises before they land.
Managing Terraform Drift Detect, triage and resolve Terraform drift with Scalr’s policy-driven workflows, automated scans and guardrails—keep every stack compliant.
Multi-Context Deployments with OpenTofu's Provider for_each Learn to leverage OpenTofu’s provider for_each for multi-context deployments, with concise code samples and key pitfalls to avoid.