A comprehensive collection of practice exercises and study materials for the HashiCorp Terraform Associate certification. This repository covers both AWS and GCP implementations while focusing on core Terraform concepts.
This project aims to help you prepare for the HashiCorp Terraform Associate (003) Certification by providing hands-on exercises for both AWS and Google Cloud Platform. The exercises follow a structured approach to reinforce key concepts that are tested in the exam.
- Duration: 1 hour
- Question Format: Multiple choice
- Passing Score: Not specified (aim for >70%)
- Price: $70.50 USD
- Validity: 2 years
For more information, see the official exam details.
This guide is organized to align with the official exam objectives. Follow this structured approach to maximize your learning:
- Infrastructure as Code Concepts
- Purpose of Terraform
- Terraform Basics
- Terraform Outside Core Workflow
- Terraform Modules
- Core Terraform Workflow
- Implement and Maintain State
- Read and Write Configuration
- HCP Terraform Capabilities
- Practice Exercises
- Sample Questions
The practice exercises are available for both AWS and GCP:
terraform-associate/
├── 01-iac-concepts.md
├── 02-terraform-purpose.md
├── ... (other study guide files)
├── exercises/
│ ├── 01-first-config/
│ │ ├── aws/
│ │ └── gcp/
│ ├── 02-variables-and-outputs/
│ │ ├── aws/
│ │ └── gcp/
│ ├── 03-resource-dependencies/
│ │ ├── aws/
│ │ └── gcp/
│ ├── 04-working-with-state/
│ │ ├── aws/
│ │ └── gcp/
│ ├── 05-modules/
│ │ ├── aws/
│ │ └── gcp/
│ └── 06-meta-arguments/
│ ├── aws/
│ └── gcp/
└── exam-notes/
├── core-concepts.md
├── provider-configuration.md
├── state-management.md
└── resource-management.md
-
Infrastructure as Code Concepts - Exam Objective 1
- Understanding IaC principles
- Terraform's place in the IaC ecosystem
- Benefits and challenges of IaC
-
Terraform Purpose and Workflow - Exam Objective 2 & 6
- Core Terraform workflow
- Terraform language basics
- State management
- Provider utilization
-
Resource Management - Exam Objective 8
- Resource types
- Resource dependencies
- Resource meta-arguments
- Resource lifecycle
-
Terraform Modules - Exam Objective 5
- Module structure
- Module sources
- Module versioning
- Module composition
-
HCP Terraform Capabilities - Exam Objective 9
- Terraform Cloud
- Workspaces
- Remote execution
- Team and governance features
- Terraform installed (v1.0.0 or newer)
- AWS account with appropriate permissions (for AWS exercises)
- Google Cloud account with appropriate permissions (for GCP exercises)
- Basic understanding of cloud services
-
Clone this repository:
git clone https://github.com/yourusername/terraform-associate.git cd terraform-associate
-
How to use this guide:
- Theoretical Study: Work through the study guide files (01-iac-concepts.md through 09-hcp-terraform.md)
- Hands-on Practice: Choose your preferred cloud provider (AWS or GCP) and complete the exercises
- Test Yourself: Use the sample questions to gauge your readiness
-
Follow the README instructions in each exercise directory
-
Complete the exercises and challenges
-
Review the provided solutions
For a structured study approach, follow this 7-day plan:
Day | Focus Areas | Activities |
---|---|---|
1 | Infrastructure as Code & Purpose of Terraform | Read sections 1-2, complete Exercise 1 |
2 | Terraform Basics | Read section 3, complete Exercise 2 |
3 | Core Workflow & Modules | Read sections 5-6, complete Exercise 3 |
4 | Working with State & Outside Core Workflow | Read sections 4 & 7, complete Exercise 4 |
5 | Advanced Configuration | Read section 8, complete Exercise 5 |
6 | HCP Terraform & Meta-Arguments | Read section 9, complete Exercise 6 |
7 | Practice & Review | Review all materials, take sample questions |
- Official HashiCorp Learn Tutorials
- Terraform Documentation
- AWS Provider Documentation
- GCP Provider Documentation
- Official Exam Review Guide
Contributions are welcome! Please read our Contributing Guidelines for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.