Difference between revisions of "Terraform Associate"

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
 
* Handle Terraform and [[Terraform provider|provider installation]] and versioning
 
* Handle Terraform and [[Terraform provider|provider installation]] and versioning
 
* Describe [[plugin]] based architecture
 
* Describe [[plugin]] based architecture
* Demonstrate using multiple providers
+
* Demonstrate using [[multiple providers]] (<code>[[alias]]</code>)
 
* Describe how Terraform finds and fetches 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]]
 
* Explain when to use and not use provisioners and when to use [[local-exec]] or [[remote-exec]]

Revision as of 09:23, 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

  • 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

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