Terraform Flashcards

1
Q

What is Terraform?

A

Terraform is an open-source infrastructure as code (IaC) tool developed by HashiCorp. It allows you to define and provision infrastructure using a high-level configuration language. Terraform supports multiple cloud providers and services, enabling you to manage your infrastructure in a consistent and automated way.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the key features of Terraform?

A

Key features of Terraform include:
Infrastructure as Code: Define infrastructure using declarative configuration files.
Execution Plans: Preview changes before applying them.
Resource Graph: Visualize dependencies between resources.
State Management: Keep track of infrastructure state to manage updates and changes.
Multi-Cloud Support: Manage resources across multiple cloud providers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does Terraform handle state management?

A

Terraform uses a state file to keep track of the current state of your infrastructure. This state file is used to map real-world resources to your configuration, track metadata, and improve performance. The state file can be stored locally or remotely (e.g., in an S3 bucket) for collaboration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a Terraform provider?

A

Is a plugin that allows Terraform to interact with APIs of cloud providers, SaaS providers, and other services. Providers define the resources and data sources available for use in your configuration. Examples include AWS, Azure, Google Cloud, and Kubernetes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly