This is the Part 1 of the Terraform Associate Exam Cram. It covers the following Terraform Associate Certification exam objectives:
1 | Understand Infrastructure as Code (IaC) concepts | Documentation | Tutorial |
---|---|---|---|
1a | Explain what IaC is |
What is Terraform?
Infrastructure as Code in a Private or Public Cloud |
Introduction to Infrastructure as Code with Terraform |
1b | Describe advantages of IaC patterns |
Infrastructure as code video
Infrastructure as Code in a Private or Public Cloud |
Introduction to Infrastructure as Code with Terraform |
Practice Questions |
Infrastructure as Code
What is Terraform?
HashiCorp Terraform is an infrastructure as code tool that lets you define both cloud and on-prem resources in human-readable configuration files that you can version, reuse, and share.
Terraform creates and manages resources through plug-ins, called providers. Providers enable Terraform to work with virtually any platform or service manageable though API. HashiCorp and the Terraform community have already written thousands of providers to manage many different types of resources and services. You can find all publicly available providers on the Terraform Registry, including Amazon Web Services (AWS), Azure, Google Cloud Platform (GCP), Kubernetes, Helm, GitHub, Splunk, DataDog, and many more.
Terraform configuration files are declarative, meaning that they describe the end state of your infrastructure. Terraform handles all interactions and underlying logic necessary to create the resources. It builds a resource graph to determine resource dependencies and creates or modifies non-dependent resources in parallel.
Terraform supports reusable configuration components called modules that define configurable collections of infrastructure. You can use publicly available modules from the Terraform Registry, or write your own.
Since your configuration is written in a file, you can commit it to a Version Control System (VCS) and use HCP Terraform to efficiently manage Terraform workflows across teams. HCP Terraform runs Terraform in a consistent, reliable environment and provides secure access to shared state and secret data, role-based access controls, a private registry for sharing both modules and providers, and more.
Benefits of IaC:
More Terraform Tutorials:
Terraform Associate Exam Cram
Understanding Terraform Variable Precedence
Terraform Value Types Tutorial
Terraform count
Explained with Practical Examples
Terraform for_each
Tutorial with Practical Examples
Exploring Terraform dynamic
Blocks with GCP Examples
Working with External Data in Terraform
Terraform Modules FAQ