Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
Day 018: AWS S3 and CloudFront
Two-column infographic under banners "Delete the block" in red on the left, "Forget the repo" in teal on the right. Between them, a code sheet with one block lifted out, scissors beside it and a closed box below. Left, in red. Plan says destroy: taking a repo block out of the config plans a destroy. Missing means gone: to OpenTofu, a missing block means the repo should not exist. A safety net only: an archive setting turns that destroy into an archive instead. Center, labeled OpenTofu state, "Two ways to let go": deleting the code and letting go are two different plans. An arrow labeled "From destroy to forget" points left to right. Right, in teal. Say what you mean: a removed block names the resource you want to let go. Destroy set to false: its lifecycle tells OpenTofu not to touch the real repo. Plan says forget: the repo stays on GitHub and only leaves state. Bottom bar: deleting the code can delete the thing. What in your config would a deleted block take down with it?