DEV Community

Discussion on: A Better Way to Write Production-Ready Terraform - Part 2 - Remote State Management

Collapse
 
jessefarinacci profile image
Jesse

Great tips! :) Just a quick nit about state locking, both v1.10 OpenTofu and Terraform support native S3 state locking so DynamoDB should be avoided (and it's technically deprecated already)! Everyone I know already switched to Tofu. Thanks for your post!

opentofu.org/docs/intro/whats-new/...
developer.hashicorp.com/terraform/...

Collapse
 
farouqmousa profile image
Farouq Mousa AWS Community Builders • Edited

Thanks for commenting @jessefarinacci
seems i missed that section :)
I wrote the core of our this article by —using a dedicated DynamoDB table for state locking— , my plan was to mention that old approach and then to mention the other approach about introducing S3 Native State Locking, thanks again.

Collapse
 
rdarrylr profile image
Darryl Ruggles AWS Community Builders

I personally don't know anyone who has switched from Terraform so i guess it's all anecdotal.