Course Outline
Advanced Terraform Syntax and Constructs
- Deep dive into Terraform syntax
- Advanced loops with for_each and count
- Utilizing maps and lists for dynamic configurations
Expressions and Dynamic Configurations
- Basic expressions and their use cases
- Advanced expressions for complex infrastructure setups
- Practical exercises on expressions
Terraform Modules Best Practices
- Local vs shared modules: When to use each
- Structuring modules for reusability and maintainability
- Versioning and managing module sources
Terraform Best Practices and Patterns
- Review of instance index keys for state management
- Best practices for writing and organizing Terraform code
- Ensuring idempotency and minimizing side effects
Managing Terraform State
- Importing resources and understanding the state file
- State locking, state backends, and remote state management
- Handling state file in distributed environments
Keeping Up with Terraform Updates
- Reviewing documentation alongside new Terraform releases
- Strategies for upgrading Terraform versions
- Dealing with deprecations and migration paths
Integrating Terraform with CI/CD Pipelines
- Overview of YAML and pipeline configurations
- Setting up Terraform with popular CI/CD tools
- Automating Terraform workflows in pipelines
Advanced Troubleshooting and Debugging
- Systematic approaches to troubleshooting Terraform plans and applies
- Debugging common and advanced errors in Terraform
- Using logs and verbose output for error resolution
Outputs and Data Flow in Terraform
- Understanding and utilizing outputs in Terraform
- Data flow between modules and root configurations
- Securing sensitive information in outputs
Conditional Logic in Terraform
- Writing conditional statements with count, for_each, and if
- Conditional creation of resources
- Use cases for conditional logic in modules
Running Terraform Locally
- Setting up a local Terraform environment
- Running and testing Terraform code on local machines
- Local development best practices
Handling Circular Dependencies
- Identifying and resolving circular dependencies
- Refactoring code to prevent dependency cycles
- Advanced techniques for dependency management
Summary and Next Steps
Requirements
- An understanding of basic Terraform syntax and operations
- Experience with cloud infrastructure, preferably AWS, and familiarity with CI/CD concepts
Audience
- DevOps engineers
- Cloud architects
- Infrastructure specialists
- Technical leads and managers
Delivery Options
Private Group Training
Our identity is rooted in delivering exactly what our clients need.
- Pre-course call with your trainer
- Customisation of the learning experience to achieve your goals -
- Bespoke outlines
- Practical hands-on exercises containing data / scenarios recognisable to the learners
- Training scheduled on a date of your choice
- Delivered online, onsite/classroom or hybrid by experts sharing real world experience
Private Group Prices RRP from €6840 online delivery, based on a group of 2 delegates, €2160 per additional delegate (excludes any certification / exam costs). We recommend a maximum group size of 12 for most learning events.
Contact us for an exact quote and to hear our latest promotions
Public Training
Please see our public courses