Cloud Computing · Terraform Associate

Terraform and Infrastructure as Code

Core Terraform concepts including providers, state, and modules tested on the HashiCorp Terraform Associate exam.

41 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Get FlashKeepers for iPhone
What is Terraform?
An open source infrastructure as code tool that uses declarative configuration to define and manage cloud resources.
What language does Terraform use?
HCL (HashiCorp Configuration Language), a declarative configuration language.
What is a Terraform provider?
A plugin that enables Terraform to interact with cloud platforms, SaaS providers, or other APIs.
What is the Terraform state file?
A JSON file that tracks the current state of all managed resources, acting as a single source of truth.
What is a Terraform module?
A container of multiple resources that are used together, enabling code reuse and organization.
What is a resource in Terraform?
An object that represents a specific infrastructure component, such as a compute instance or database.
What is a Terraform data source?
A read-only reference to data managed external to Terraform, allowing you to query existing resources.
What are Terraform variables used for?
To define input values that make configurations reusable and customizable.
What are Terraform outputs used for?
To export values computed or managed by Terraform so they can be used by other configurations or displayed to users.
What does the terraform plan command do?
Generates and shows an execution plan that describes the actions Terraform will perform without making any changes.
What does the terraform apply command do?
Executes the actions described in the plan to create, update, or delete infrastructure resources.
What does the terraform destroy command do?
Destroys all remote objects managed by Terraform in the configuration.
What is remote state in Terraform?
State stored in a remote backend such as S3, Terraform Cloud, or Consul instead of locally on disk.
What are Terraform provisioners?
A way to run scripts or perform actions on a resource after it is created, as a last resort for configuration.
What is the null_resource in Terraform?
A resource from the null provider that does not manage any real infrastructure, useful for provisioners or triggers.

26 more cards in the app