20 Questions
Which command can be used to generate the Terraform graph?
terraform graph
Which type of providers can be implemented by third-party vendors outside of HashiCorp?
Custom providers
What is the responsibility of a Terraform provider?
Handling API interactions
What are the authentication options for accessing or creating resources on AWS using Terraform?
Static credentials, Environment variables, EC2 role
What is the file extension for Terraform configuration files?
.tf
What command should be used to initialize a Terraform directory?
terraform init
What does HCL stand for in the context of Terraform?
HashiCorp Configuration Language
What does Terraform rely on for creating declarations?
HCL
What can be done with Terraform using the 'apply' command?
Deploy the configuration
What does the Terraform graph determine?
Dependencies
Which tool is used to manage infrastructure as code?
Terraform
Which markup structure does Google Cloud Deployment Manager use?
YAML
Which language is used by Terraform for declaring resources?
HCL
What does Terraform use to keep track of provisioned resources?
terraform.tfstate file
Which tool is cloud-agnostic and supports multiple cloud providers?
Terraform
Which tool allows you to specify resources in a declarative format using YAML?
Google Cloud Deployment Manager
Which tool uses pluggable modules called providers?
Terraform
Which tool generates a graph of your resources internally?
Terraform
Which tool allows reuse of common deployment paradigms, such as load-balanced, auto-scaled instance groups?
Google Cloud Deployment Manager
Which tool is based on the HCL language, which is both machine readable and human readable?
Terraform
Study Notes
Terraform Commands and Concepts
- The
graph
command can be used to generate the Terraform graph. - The
init
command should be used to initialize a Terraform directory.
Terraform Providers
- Third-party vendors can implement external providers outside of HashiCorp.
- A Terraform provider is responsible for understanding API interactions and exposing resources.
Authentication and Files
- Authentication options for accessing or creating resources on AWS using Terraform include access keys, roles, and environment variables.
- Terraform configuration files have a
.tf
file extension.
HCL and Declarative Format
- HCL stands for HashiCorp Configuration Language in the context of Terraform.
- Terraform relies on HCL for creating declarations.
- Terraform uses HCL for declaring resources in a declarative format.
- HCL is both machine-readable and human-readable.
Provisioning and Tracking
- The
apply
command can be used with Terraform to create, update, or delete resources. - Terraform uses a state file to keep track of provisioned resources.
Terraform Features
- Terraform is a tool used to manage infrastructure as code.
- Terraform is cloud-agnostic and supports multiple cloud providers.
- Terraform uses pluggable modules called providers.
- Terraform generates a graph of resources internally.
- Terraform allows reuse of common deployment paradigms, such as load-balanced, auto-scaled instance groups.
Other Tools
- Google Cloud Deployment Manager uses YAML as its markup structure.
- Cloud Deployment Manager allows specifying resources in a declarative format using YAML.
Test your knowledge of Google Cloud Deployment Manager and its features in this quiz! Learn about how it compares to AWS CloudFormation, its use of YAML markup structure, and its compatibility with Google Compute Engine and Google Cloud Platform. Challenge yourself with questions about specifying resources, using declarative formats, and creating configurations with Python or Jinja2 templates.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free