Difference between revisions of "Terraform Associate"
Jump to navigation
Jump to search
Line 31: | Line 31: | ||
* Contrast module [[source]] options | * Contrast module [[source]] options | ||
* Interact with module inputs and outputs | * Interact with module inputs and outputs | ||
− | * Describe variable scope within modules/child modules | + | * Describe [[variable scope]] within modules/child modules |
* Discover modules from the public [[Terraform Module Registry]] | * Discover modules from the public [[Terraform Module Registry]] | ||
* Defining module version | * Defining module version |
Revision as of 10:21, 8 February 2022
- https://www.hashicorp.com/certification/terraform-associate
- Exam review: https://learn.hashicorp.com/tutorials/terraform/associate-review
- Terraform 0.14 (March 2021)
Contents
- 1 Objetives
- 1.1 1. Understand infrastructure as code (IaC) concepts
- 1.2 2. Understand Terraform's purpose (vs other IaC)
- 1.3 3. Understand Terraform basics
- 1.4 4. Use the Terraform CLI (outside of core workflow)
- 1.5 5 Interact with Terraform modules
- 1.6 6 Navigate Terraform workflow
- 1.7 7 Implement and maintain state
- 1.8 8 Read, generate, and modify configuration
- 1.9 9 Understand Terraform Cloud and Enterprise capabilities
- 2 See also
Objetives
1. Understand infrastructure as code (IaC) concepts
2. Understand Terraform's purpose (vs other IaC)
- Explain multi-cloud and provider-agnostic benefits
- Explain the benefits of state
3. Understand Terraform basics
- Handle Terraform and provider installation and versioning
- Describe plugin based architecture
- Demonstrate using multiple providers (
alias
) - Describe how Terraform finds and fetches providers
- Explain when to use and not use provisioners and when to use local-exec or remote-exec
4. Use the Terraform CLI (outside of core workflow)
- Given a scenario: choose when to use
terraform fmt
to format code - Given a scenario: choose when to use
terraform taint
to taint Terraform resources - Given a scenario: choose when to use
terraform import
to import existing infrastructure into your Terraform state - Given a scenario: choose when to use
terraform workspace
to create workspaces - Given a scenario: choose when to use
terraform state
to view Terraform state - Given a scenario: choose when to enable verbose logging and what the outcome/value is
5 Interact with Terraform modules
- Contrast module source options
- Interact with module inputs and outputs
- Describe variable scope within modules/child modules
- Discover modules from the public Terraform Module Registry
- Defining module version
- Describe Terraform workflow ( Write -> Plan -> Create )
- Initialize a Terraform working directory (
terraform init
) - Validate a Terraform configuration (
terraform validate
) - Generate and review an execution plan for Terraform (
terraform plan
) - Execute changes to infrastructure with Terraform (
terraform apply
) - Destroy Terraform managed infrastructure (
terraform destroy
)
7 Implement and maintain state
- Describe default local backend
- Outline state locking
- Handle backend authentication methods
- Describe remote state storage mechanisms and supported standard backends
- Describe effect of
terraform refresh
(deprecated) on state (terraform apply -refresh-only
) - Describe backend block in configuration and best practices for partial configurations
- Understand secret management in state files
8 Read, generate, and modify configuration
- Demonstrate use of variables and outputs
- Describe secure secret injection best practice
- Understand the use of collection and structural types
- Create and differentiate resource and data configuration
- Use resource addressing and resource parameters to connect resources together
- Use Terraform built-in functions to write configuration
- Configure resource using a dynamic block
- Describe built-in dependency management (order of execution based)
9 Understand Terraform Cloud and Enterprise capabilities
- Describe the benefits of Sentinel, registry, and workspaces
- Differentiate OSS and TFE workspaces
- Summarize features of Terraform Cloud
See also
- Terraform, OpenTofu, Terrakube.org, Installation, Terraform AWS, Terraform GCP, Terraform commands, Terraform Cloud, Terraform Enterprise (TFE), HCL, HIL, meta-arguments, providers, modules, resource, provisioners, data sources, backends: remote backends, examples, configuration files, state files, variables, types, Terraform Registry, conditionals:
depends_on
, functions, Blocks, dynamic blocks, errors, Terragrunt, Terraformer, Terratest, Terraform certifications, Terraform map type, Terraform Associate, Terraform: list type,TF_VAR_, TF_LOG
, Terraform provider versioning, Terraform Style Conventions, Required version, Terraform plugin, Terraform Named Values, tags, Changelog,tfsec, tflint
, Operators, Expressions:for, splat
, Debugging, Namespaces, Terraform Landing Zones, CDKTF, Atmos - Certifications: Security certifications, Enterprise architecture, Coursera, AWS certifications, CertiProf, Pearson VUE, Terraform Associate, Freecram, ExamLabs
Advertising: