~/talk

Blank Apply: Destroying Without Terraform Configuration

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

When Terraform state exists but configuration is lost, creating an empty config and running terraform apply removes all resources referenced in that state — a technique called blank apply. The team builds a small bash tool named Tarkin that points at S3 state, fakes providers and supplies dummy modules so module-scoped resources also destroy. Watch for provider quirks, approval prompts, and leftover state/lock files; this saved releases when IAM roles hit 1,000 then 3,000 (quota max 5,000).

AI-written summary · about

  1. 0:00Introduction and AWS limits
  2. 2:40Jellyvision's infrastructure
  3. 5:59Automated cleanup struggles
  4. 9:01Speculative merge challenges
  5. 12:38The need for a better solution
  6. 15:20The blank apply technique
  7. 18:34Implementing Tarkin
  8. 20:41Q&A and conclusion
~/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.