---
title: "Discussion on \"Stop Paying for DynamoDB Just to Lock Your Terraform State — Do This Instead\" | Hashnode"
description: "Discussion on \"Stop Paying for DynamoDB Just to Lock Your Terraform State — Do This Instead\". 𝗟𝗼𝘀𝗶𝗻𝗴 𝗺𝗼𝗻𝗲𝘆 by running a 𝑫𝒚𝒏𝒂𝒎𝒐𝑫𝑩 just to lock your 𝑻𝒆𝒓𝒓𝒂𝒇𝒐𝒓𝒎  𝒔𝒕𝒂𝒕𝒆? Now there’s a better way! 🫨I remember staring at my 𝗔𝗪𝗦 𝗯𝗶𝗹𝗹, scratching my head: “Why am I paying for a whole database just to prevent tw..."
url: "https://hashnode.com/posts/stop-paying-for-dynamodb-just-to-lock-your-terraform-state-do-this-instead/67f8bf96e8429aac75d4353d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Stop Paying for DynamoDB Just to Lock Your Terraform State — Do This Instead](https://devops-rulebook.hashnode.dev/stop-paying-for-dynamodb-just-to-lock-your-terraform-state-do-this-instead?utm_source=hashnode&utm_medium=feed)

𝗟𝗼𝘀𝗶𝗻𝗴 𝗺𝗼𝗻𝗲𝘆 by running a 𝑫𝒚𝒏𝒂𝒎𝒐𝑫𝑩 just to lock your 𝑻𝒆𝒓𝒓𝒂𝒇𝒐𝒓𝒎 𝒔𝒕𝒂𝒕𝒆? Now there’s a better way! 🫨I remember staring at my 𝗔𝗪𝗦 𝗯𝗶𝗹𝗹, scratching my head: “Why am I paying for a whole database just to prevent tw...

Apr 11, 2025 · 2 min read · devops-rulebook.hashnode.dev  
Read the article

-   [#terraform](https://hashnode.com/tag/terraform)
-   [#aws-s3](https://hashnode.com/tag/aws-s3)
-   [#aws-dynamodb](https://hashnode.com/tag/aws-dynamodb)
-   [#terraform-state](https://hashnode.com/tag/terraform-state)

## Written by

[Amay Jaiswal](https://hashnode.com/@heyamay)

@heyamay · Noida

  
[View profile](https://hashnode.com/@heyamay)

AWS DevOps Engineer

AWS Cloud &amp; DevOps Engineer | Cloud Computing | Linux | Terraform &amp; CloudFormation | AWS (EC2, S3, Lambda, API Gateway, DynamoDB, IAM) | Docker | Jenkins | CI/CD Pipelines | MySQL | Java | Jira | Postman | Git/GitHub

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
