Difference between revisions of "Terraform Associate"

From wikieduonline
Jump to navigation Jump to search
Line 48: Line 48:
 
* Handle [[backend]] [[authentication methods]]
 
* Handle [[backend]] [[authentication methods]]
 
* Describe remote state storage mechanisms and supported standard backends
 
* Describe remote state storage mechanisms and supported standard backends
* Describe effect of <code>[[terraform refresh]]</code> (deprecated) on state
+
* Describe effect of <code>[[terraform refresh]]</code> (deprecated) on state (<code>[[terraform apply -refresh-only]]</code>)
 
* Describe backend block in configuration and best practices for partial configurations
 
* Describe backend block in configuration and best practices for partial configurations
 
* Understand [[secret management]] in [[state files]]
 
* Understand [[secret management]] in [[state files]]

Revision as of 10:10, 8 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

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

7 Implement and maintain state

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

See also

Advertising: