All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

The Challenges of Destroying Resources with Terraform in Cloud Infrastructure

By

mooreds

4mo ago· 2 min readenInsight

Summary

The article discusses the challenges of destroying resources using Terraform (TF) in cloud infrastructure, explaining why this operation is more difficult than creating resources. The author notes that cloud platforms have numerous 'gotchas' when determining if a resource can be safely deleted, including dependencies, locks, and other blocking situations. The piece frames resource destruction as an often painful but necessary part of infrastructure-as-code workflows that many practitioners prefer to avoid discussing.

Key quotes

· 4 pulled
Destroying resources is just generally harder than creating them because the cloud can have lots of gotchas when determining 'Is this resource okay to delete?'
Plenty of situations can block a destroy action.
Typically, unless you need to destroy that resource as a regular part of your workflow for some subset of infrastructure, which is not a common action, it's best to treat these painful interactions with the cloud and IaC as a one-
The one IaC operation nobody wants to talk about.
Snippet from the RSS feed
The one IaC operation nobody wants to talk about.

You might also wanna read