Difference between revisions of "Terraform Associate"

From wikieduonline
Jump to navigation Jump to search
Line 44: Line 44:
  
 
=== 7 Implement and maintain state ===
 
=== 7 Implement and maintain state ===
7a Describe default local backend
+
* Describe default local backend
7b Outline state locking
+
* Outline state locking
7c Handle backend authentication methods
+
* Handle backend authentication methods
7d Describe remote state storage mechanisms and supported standard backends
+
* Describe remote state storage mechanisms and supported standard backends
7e Describe effect of Terraform refresh on state
+
* Describe effect of Terraform refresh on state
7f Describe backend block in configuration and best practices for partial configurations
+
* Describe backend block in configuration and best practices for partial configurations
7g Understand secret management in state files
+
* Understand secret management in state files
  
 
== 8 Read, generate, and modify configuration ===
 
== 8 Read, generate, and modify configuration ===

Revision as of 12:49, 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

  • 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

6 Navigate Terraform workflow

  • 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 on state
  • Describe backend block in configuration and best practices for partial configurations
  • 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: