How to Store Terraform State File In AWS | DevOps Real Time Scenarios | Terraform State File S3
How to Store Terraform State File In AWS | DevOps Real Time Scenarios | Terraform State File S3
Hey Folks,
Welcome back to another video in the series of DevOps Real Time Scenarios
or DevOps Real Time Issues. In today's video, we are going to talk about :
Problem Statement - Terraform state file is in local, now other devs/devops wants to use it?
What to do?
How to do it?
Solution - Migrate or store terraform state file In AWS
Process -
Step 1: Create an AWS S3 bucket
Step 2: Modify the AWS S3 bucket policy
Step 3: Create a DynamoDB table
Step 4: Configure Terraform to point to this backend
Step-5: Initialize Terraform
Step-6: Apply Terraform changes
Terraform link - https://developer.hashicorp.com/terraform/language/settings/backends/s3
LogicOps Lab - https://www.youtube.com/channel/UCjGcthjRHGegI8TeJHMS6wA?sub_confirmation=1
LogicOps Lab - Hindi - https://www.youtube.com/channel/UCaPJAaaGc2Pw6kPXop0BDBg?sub_confirmation=1
GitHub - https://bit.ly/3lsUjdE
Twitter - https://twitter.com/LogicOpsLab
Instagram - https://bit.ly/3tJ9Jyf
Facebook - https://bit.ly/3ziMoVq
Like | Share | Subscribe | Follow
how to store terraform state file in aws,how to store terraform state file in azure,devops real time scenarios,aws terraform s3 bucket,terraform state file s3,terraform state file management,how to manage terraform state file,terraform state file locking,how to migrate terraform state,how to migrate terraform state file in aws,terraform s3 backend configuration,terraform s3 backend best practices,terraform s3 bucket policy,devops real time questions,terraform,aws