Module 7 of 8

Maintaining Infrastructure with Terraform

1.25 hours (lessons 45 min, lab 20 min, knowledge check 10 min)

Learning objectives

ID You will be able to…
7a Bring existing infrastructure under Terraform management with terraform import and with import blocks, including for_each imports and -generate-config-out.
7b Inspect state and configuration with state list, state show, show, output, graph, providers, and console, and know which of these are read-only.
7c Turn on and scope verbose logging with TF_LOG, TF_LOG_PATH, TF_LOG_CORE, and TF_LOG_PROVIDER, and know when logging helps.

In this module