Course Outline
Advanced Terraform Syntax and Constructs
- In-depth exploration of Terraform syntax
- Advanced looping mechanisms using for_each and count
- Utilizing maps and lists to achieve dynamic configurations
Expressions and Dynamic Configurations
- Fundamental expressions and their practical applications
- Complex expressions tailored for intricate infrastructure setups
- Hands-on exercises focused on expression usage
Terraform Modules Best Practices
- Local vs shared modules: Criteria for selection
- Designing modules for enhanced reusability and maintainability
- Versioning strategies and management of module sources
Terraform Best Practices and Patterns
- Reviewing instance index keys for effective state management
- Best practices for writing and organizing Terraform code
- Ensuring idempotency and minimizing unintended side effects
Managing Terraform State
- Importing resources and gaining insight into the state file
- State locking, backends, and remote state management
- Managing state files in distributed environments
Staying Current with Terraform Updates
- Reviewing documentation in parallel with new Terraform releases
- Strategies for upgrading Terraform versions
- Addressing deprecations and migration pathways
Integrating Terraform with CI/CD Pipelines
- Overview of YAML and pipeline configuration structures
- Configuring Terraform with leading CI/CD tools
- Automating Terraform workflows within pipelines
Advanced Troubleshooting and Debugging
- Systematic approaches to troubleshooting Terraform plans and applies
- Debugging common and advanced errors in Terraform
- Leveraging logs and verbose output for error resolution
Outputs and Data Flow in Terraform
- Understanding and utilizing outputs within Terraform
- Data flow between modules and root configurations
- Securing sensitive data in outputs
Conditional Logic in Terraform
- Writing conditional statements using count, for_each, and if
- Conditional resource creation
- Application of conditional logic within modules
Running Terraform Locally
- Establishing a local Terraform environment
- Executing and testing Terraform code on local machines
- Best practices for local development
Handling Circular Dependencies
- Identifying and resolving circular dependencies
- Refactoring code to prevent dependency cycles
- Advanced techniques for dependency management
Summary and Next Steps
Requirements
- Proficiency in fundamental Terraform syntax and core operations
- Practical experience with cloud infrastructure, ideally AWS, and a solid grasp of CI/CD concepts
Target Audience
- DevOps engineers
- Cloud architects
- Infrastructure specialists
- Technical leads and managers
Testimonials (4)
Checking all the details in practice - by writing real code
Michal Pipala - EY
Course - Advanced Terraform: Efficient Infrastructure as Code
Very interactive training
Michal Bojko - EY
Course - Advanced Terraform: Efficient Infrastructure as Code
The structure was good, each section had a clear purpose and was easy enough to follow. The exercises were useful and the trainer was helpful when issues eventually arose. The relaxed approach regarding the labs was also something that I enjoyed. Props to the trainer for keeping a chill & friendly attitude throughout the training, even after some of the attendees gave up on the whole experience.
Rares - Orange Services
Course - Advanced Terraform: Efficient Infrastructure as Code
The flexibility of the trainer to adapt the knowledge sharing based on the group feedback or areas of intereset