TGViewer
CatOps CatOps @catops · 5.07K subscribers
Post #2625 2.15K
I wrote an article about working with `.terraform.lock.hcl` two years ago and had mostly forgotten about it. However, DOU recently reminded me by publishing a translation of it into Ukrainian. Interestingly, the content is still relevant today. The AWS provider (and many others) can still break your tfstate, as seen with the S3 lifecycle rules issue in v5.86.0.

For this specific edge case, you need integration tests via Terratest. However, there a good practice to pin your dependencies and test all updates, even with a simple tf plan. Unfortunately, this practice is still not widely adopted.

#terraform #hashicorp
YR's Blog How to add, use, and update `.terraform.lock.hcl` without pain This is the first guest article in this blog. This is one is by Maksym Vlasov - my co-author of the CatOps channel. Pre-history As you may know, Terraform 1.4.0 has introduced changes, which break the previous unintentional behavior. Previously, you could…
  • 👍 10
More from @catops
  1. Oct 1, 2026​​I traded my personal information for this report, so you don’t have to! DataDog presents…
  2. Sep 29, 2026A Cybersecurity books bundle by O’Reilly on Humble Bundle. The bundle is fresh and is stil…
  3. Sep 28, 2026​​For today’s Donations Monday, I’d like to remind you about a fundraiser for a pickup tru…
  4. Sep 26, 2026Here’s Datadog’s take on the increased load on CI. In this article they explain how their…
  5. Sep 25, 2026A new chapter of the CatOps Digest is here! https://newsletter.catops.dev/p/catops-digest-…
  6. Sep 24, 2026Shopify wrote an article on them moving from React Native to the native code for their mob…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →