You are a life saver, really well explained was completing a lab could set up the EC2 instances and use variables fine. Configuring the S3 backend with an updated version of Terraform was too hard to do alone. Thank you 🙏
Hi. Thanks for your wonderful videos. I currently have multiple projects and I’m using one S3 bucket for my state backend. These multiple project state files are separated by paths in the S3 bucket. Now, I want to implement DynamoDB state file lock. Since I have multiple projects, can I use only one DynamoDB table, like I used one S3 bucket for my state file backend? If the answer is yes, how does DynamoDB separate and isolate the locks for each project in this table? Or do I have to create multiple DynamoDB table for all my projects? Your guidance and thoughts on this would be appreciated.
Hi , thanks for the tutorial. after moving state file to remote backend , i keep getting the following error from the next init or plan. Any idea how to resolve this? Error: Error acquiring the state lock │ │ Error message: operation error DynamoDB: PutItem, https response error │ StatusCode: 400, RequestID: │ │ ConditionalCheckFailedException: The conditional request failed
Hello, How to make use of this state file while working in a team, do you have to pull the remote s3 state file to local ? ie, if any other user in the team wanted to know what resources have already been created, how do you make use of this remote s3.
This state file is stored on S3 but can be pulled by anyone in the team, so it’s centrally accessible to all and lock let’s you make change one at a time to avoid state corruption. So everyone can work collaboratively 🤝
I have try to done that but in my side o am getting so many errors like missing lock items, operation error DynamoDB: PutItein and not able to exesting s3 bucket but i have to init the script
I bro I can't be able to push the code to GitHub coz my file exceed 100 mb .. so what to do I have tried installing lfs also .. in my centos AWS instance
Hi, Thanks for the video. I followed the same steps and ran but it doesn't show "Acquiring state lock" when i run "terraform plan" or terraform apply" command. Please help on this.
Thanks for the tutorial, I was able to follow the steps and the terraform.tfstate file was on s3 bucket, and it the same time i have the terraform.tfstate file locallly on my computer inside the .terraform file, and if I tried deleting locally, it will download it again after running terraform init, is this normal? Can you explain if I am doing anything wrong, thanks
Make sure you have backend block with s3 and dynamodb defined and then run terraform init to migrate state from local to s3 👍🏻 Feel free to ask if need help
Hi I am getting error for backend Successfully configured the backend "s3"! Terraform will automatically use this backend unless the backend configuration changes. Error refreshing state: AccessDenied: Access Denied status code: 403, request id: 13YNJNZ963P0G2PC, host id: BesL3R7isQNbpgHpncUwj1Eg9kioyJLxo4Gxw0fHCtKZzqM7vrKlT2Dw+ijf0WNcwjYBJLfOWGE= Any clue
You are a life saver, really well explained was completing a lab could set up the EC2 instances and use variables fine. Configuring the S3 backend with an updated version of Terraform was too hard to do alone. Thank you 🙏
Happy to help ☺️
Also checkout the terraform playlist if that help
Thank you for this. saved me hours of tutorials
You are welcome 🤗
Please share and subscribe 🙏
best video on sf management many thanks for sharing
You are welcome
Thanks CC...much appreciated. Great explanation.
You are welcome
You are lifesaver!!
Thanks for this project 😊
You are welcome 🤗
Wow this is so accurate!! 👍
😊 thank you
Exactly what I wanted
👍🏻👍🏻
Nice tutorial!
Thank you! Cheers!
Thank you cery much, this video is very helpful
Thanks! Happy to help ☺️
hi can you explaination about given path. any condition in giving the path
this video is very helpful. I have one doubt "AES256" is it a name or what? if it is a name can we give whatever as name right
No that’s encryption algorithm I think
Thanks for this video
Your welcome 🙏
Hi. Thanks for your wonderful videos. I currently have multiple projects and I’m using one S3 bucket for my state backend. These multiple project state files are separated by paths in the S3 bucket. Now, I want to implement DynamoDB state file lock. Since I have multiple projects, can I use only one DynamoDB table, like I used one S3 bucket for my state file backend? If the answer is yes, how does DynamoDB separate and isolate the locks for each project in this table? Or do I have to create multiple DynamoDB table for all my projects? Your guidance and thoughts on this would be appreciated.
Tell me if the state file is deleted, what we need to do to get back state file.
Hi
I Have aready created a Database and other infra without backend.tf . If I create now will there be a problem
Hi , thanks for the tutorial. after moving state file to remote backend , i keep getting the following error from the next init or plan. Any idea how to resolve this? Error: Error acquiring the state lock
│
│ Error message: operation error DynamoDB: PutItem, https response error
│ StatusCode: 400, RequestID:
│ │ ConditionalCheckFailedException: The conditional request failed
Hey Champ, how do I store multiple state files in s3?
Hello,
How to make use of this state file while working in a team,
do you have to pull the remote s3 state file to local ?
ie, if any other user in the team wanted to know what resources have already been created, how do you make use of this remote s3.
This state file is stored on S3 but can be pulled by anyone in the team, so it’s centrally accessible to all and lock let’s you make change one at a time to avoid state corruption.
So everyone can work collaboratively 🤝
I have try to done that but in my side o am getting so many errors like missing lock items, operation error DynamoDB: PutItein and not able to exesting s3 bucket but i have to init the script
I bro I can't be able to push the code to GitHub coz my file exceed 100 mb .. so what to do I have tried installing lfs also .. in my centos AWS instance
Hi, Thanks for the video. I followed the same steps and ran but it doesn't show "Acquiring state lock" when i run "terraform plan" or terraform apply" command. Please help on this.
You can run the terraform plan command with force unlock parameter : terraform plan -lock=false
Thanks for the tutorial, I was able to follow the steps and the terraform.tfstate file was on s3 bucket, and it the same time i have the terraform.tfstate file locallly on my computer inside the .terraform file, and if I tried deleting locally, it will download it again after running terraform init, is this normal? Can you explain if I am doing anything wrong, thanks
Make sure you have backend block with s3 and dynamodb defined and then run terraform init to migrate state from local to s3 👍🏻
Feel free to ask if need help
how to lock the tf.state in AWS S3 so that other cant write to it?
Using dynamo db terraform lock
hello@@cloudchamp- where in your video I can find how to lock the tf.state so others cant write to it? thanks
@@nelsondario4762the video addressed about pushing state file to s3 and Dynamodb is used just to lock parallel execution. It's one at time.
👍👍👍👍👍
👏👏
Perfecd!!
Hi I am getting error for backend
Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.
Error refreshing state: AccessDenied: Access Denied
status code: 403, request id: 13YNJNZ963P0G2PC, host id: BesL3R7isQNbpgHpncUwj1Eg9kioyJLxo4Gxw0fHCtKZzqM7vrKlT2Dw+ijf0WNcwjYBJLfOWGE=
Any clue
Make sure you have the proper access and you have configured aws by inserting the right keys
Awesome
Thank you Jhanvi ☺️🤝
Your champ
what is your Age bro?
22
@Cloud Champ cool bro, I'm 21, love your videos.