~/talk

Importing Terraform Resources the Safe Way

Talkat HashiTalks 2022 · 2022-02-17..02-18· [devops-and-delivery]
links:none on file
slides:none on file

A practical procedure for importing Terraform-managed EC2 and Security Group resources into Terraform Cloud that avoids accidental destruction: prepare Terraform code and import commands first, set the workspace to manual apply and switch to CLI-driven (disable VCS webhook), run terraform init then terraform import locally for each resource, run a plan to minimize diffs (change console settings if needed), merge the PR, re-enable VCS so the remote plan matches the local state, confirm the run and verify tags in the AWS console; this workflow prevents the kind of outage that left a site showing an nginx welcome page.

AI-written summary · about

  1. 0:00Introduction
  2. 3:53Dangers of Importing
  3. 8:53Understanding Terraform
  4. 17:26Demo
  5. 24:06Key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.