Difference between revisions of "Terraform Associate"

From wikieduonline
Jump to navigation Jump to search
Line 28: Line 28:
 
* Given a scenario: choose when to enable verbose logging and what the outcome/value is
 
* Given a scenario: choose when to enable verbose logging and what the outcome/value is
  
<pre>
+
===  5 Interact with Terraform modules ===
5 Interact with Terraform modules
 
 
5a Contrast module source options
 
5a Contrast module source options
 
5b Interact with module inputs and outputs
 
5b Interact with module inputs and outputs
Line 35: Line 34:
 
5d Discover modules from the public Terraform Module Registry
 
5d Discover modules from the public Terraform Module Registry
 
5e Defining module version
 
5e Defining module version
6 Navigate Terraform workflow
+
 
 +
=== 6 Navigate Terraform workflow ===
 
6a Describe Terraform workflow ( Write -> Plan -> Create )
 
6a Describe Terraform workflow ( Write -> Plan -> Create )
 
6b Initialize a Terraform working directory (terraform init)
 
6b Initialize a Terraform working directory (terraform init)
Line 42: Line 42:
 
6e Execute changes to infrastructure with Terraform (terraform apply)
 
6e Execute changes to infrastructure with Terraform (terraform apply)
 
6f Destroy Terraform managed infrastructure (terraform destroy)
 
6f Destroy Terraform managed infrastructure (terraform destroy)
7 Implement and maintain state
+
 
 +
=== 7 Implement and maintain state ===
 
7a Describe default local backend
 
7a Describe default local backend
 
7b Outline state locking
 
7b Outline state locking
Line 50: Line 51:
 
7f Describe backend block in configuration and best practices for partial configurations
 
7f Describe backend block in configuration and best practices for partial configurations
 
7g Understand secret management in state files
 
7g Understand secret management in state files
8 Read, generate, and modify configuration
+
 
 +
== 8 Read, generate, and modify configuration ===
 
8a Demonstrate use of variables and outputs
 
8a Demonstrate use of variables and outputs
 
8b Describe secure secret injection best practice
 
8b Describe secure secret injection best practice

Revision as of 12:45, 1 February 2022

Objetives

1. Understand infrastructure as code (IaC) concepts

  • Explain what IaC is
  • Describe advantages of IaC patterns

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
  • 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

5a Contrast module source options 5b Interact with module inputs and outputs 5c Describe variable scope within modules/child modules 5d Discover modules from the public Terraform Module Registry 5e Defining module version

6 Navigate Terraform workflow

6a Describe Terraform workflow ( Write -> Plan -> Create ) 6b Initialize a Terraform working directory (terraform init) 6c Validate a Terraform configuration (terraform validate) 6d Generate and review an execution plan for Terraform (terraform plan) 6e Execute changes to infrastructure with Terraform (terraform apply) 6f Destroy Terraform managed infrastructure (terraform destroy)

7 Implement and maintain state

7a Describe default local backend 7b Outline state locking 7c Handle backend authentication methods 7d Describe remote state storage mechanisms and supported standard backends 7e Describe effect of Terraform refresh on state 7f Describe backend block in configuration and best practices for partial configurations 7g Understand secret management in state files

8 Read, generate, and modify configuration =

8a Demonstrate use of variables and outputs 8b Describe secure secret injection best practice 8c Understand the use of collection and structural types 8d Create and differentiate resource and data configuration 8e Use resource addressing and resource parameters to connect resources together 8f Use Terraform built-in functions to write configuration 8g Configure resource using a dynamic block 8h Describe built-in dependency management (order of execution based) 9 Understand Terraform Cloud and Enterprise capabilities 9a Describe the benefits of Sentinel, registry, and workspaces 9b Differentiate OSS and TFE workspaces 9c Summarize features of Terraform Cloud

See also

Advertising: