Course Outline
Advanced Terraform Syntax and Constructs
- Comprehensive exploration of Terraform syntax
- Utilizing advanced loops with for_each and count
- Employing maps and lists for dynamic configurations
Expressions and Dynamic Configurations
- Fundamentals of expressions and their applications
- Advanced expressions for complex infrastructure setups
- Practical exercises on expressions for government use cases
Terraform Modules Best Practices
- Evaluating local versus shared modules: Determining appropriate usage scenarios
- Designing modules for reusability and maintainability in government projects
- Versioning and managing module sources for government applications
Terraform Best Practices and Patterns
- Review of instance index keys for effective state management for government
- Best practices for writing and organizing Terraform code in public sector environments
- Ensuring idempotency and minimizing side effects in government infrastructure
Managing Terraform State
- Importing resources and understanding the state file for government operations
- State locking, state backends, and remote state management strategies for government
- Handling state files in distributed environments for government use
Keeping Up with Terraform Updates
- Reviewing documentation alongside new Terraform releases for government applications
- Strategies for upgrading Terraform versions in public sector projects
- Addressing deprecations and navigating migration paths for government infrastructure
Integrating Terraform with CI/CD Pipelines
- Overview of YAML and pipeline configurations for government
- Setting up Terraform with popular CI/CD tools in public sector environments
- Automating Terraform workflows in pipelines for government operations
Advanced Troubleshooting and Debugging
- Systematic approaches to troubleshooting Terraform plans and applies for government
- Debugging common and advanced errors in Terraform for public sector use
- Utilizing logs and verbose output for error resolution in government projects
Outputs and Data Flow in Terraform
- Understanding and utilizing outputs in Terraform for government applications
- Data flow between modules and root configurations for public sector operations
- Securing sensitive information in outputs for government use
Conditional Logic in Terraform
- Writing conditional statements with count, for_each, and if for government projects
- Conditional creation of resources for public sector infrastructure
- Use cases for conditional logic in modules for government operations
Running Terraform Locally
- Setting up a local Terraform environment for government use
- Running and testing Terraform code on local machines for public sector projects
- Local development best practices for government applications
Handling Circular Dependencies
- Identifying and resolving circular dependencies in government infrastructure
- Refactoring code to prevent dependency cycles for public sector use
- Advanced techniques for dependency management in government projects
Summary and Next Steps
Requirements
- An understanding of fundamental Terraform syntax and operations
- Experience with cloud infrastructure, preferably Amazon Web Services (AWS), and familiarity with Continuous Integration/Continuous Deployment (CI/CD) concepts
Audience for Government
- DevOps engineers
- Cloud architects
- Infrastructure specialists
- Technical leads and managers
Testimonials (2)
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