Day 1: Understand IaC and build OpenTofu configurations deliberately
5 topics, Tap to openTap to close
10:00–11:00OpenTofu and Infrastructure as Code
Infrastructure as code describes infrastructure declaratively in versioned configuration. You compare OpenTofu with Terraform, Ansible, CloudFormation, and Pulumi and distinguish provisioning, configuration management, and platform-specific approaches. Origins, governance, and licensing models provide decision context without becoming a general product recommendation or permanent compatibility promise.
11:00–12:00HCL and Initial Resources
An OpenTofu configuration combines blocks, arguments, and expressions in HCL. You examine resource and data blocks, attributes, and references and use the local provider for a self-contained first example. You then run tofu init, plan, and apply and trace the files and state OpenTofu creates along the way.
13:00–14:00Providers and OpenTofu Registry
Providers translate configuration into API calls for the connected platform. You define required_providers, set version constraints, and read the dependency lock file. You then examine sources, signatures, and verification in the OpenTofu Registry and clearly distinguish technical provenance checks from informed approval of a provider.
14:00–15:00Variables, Outputs, and Locals
Input variables make configurations adaptable but require clear types and boundaries. You define scalar and structured types, defaults, and validation rules and use outputs for selected results and module handovers. With locals, you group derived values and refactor the existing configuration without expanding its interfaces unnecessarily.
15:00–16:00Model Cloud Infrastructure Step by Step
The DevNinjas Dojo, our cloud learning environment, connects providers, variables and references through a cloud scenario. You model a VM, a security group and a public or elastic IP and use outputs for selected connection data. The OpenTofu documentation and plan output support the work but do not replace informed approval.

