Terraform state file | How to manage local statefile | How to save remote statefile on AWS S3 Bucket

  Рет қаралды 26,221

Rahul Wagh

Rahul Wagh

Күн бұрын

Пікірлер: 85
@kamkum2k
@kamkum2k 2 жыл бұрын
your teaching style is excellent, to the point, no waste of time. I just like your style ... Thanks
@RahulWagh
@RahulWagh 2 жыл бұрын
I appreciate that!
@rajeshk920
@rajeshk920 2 жыл бұрын
this is the best explanation i ever seen. your explaining slowly and clearly in detailed
@RahulWagh
@RahulWagh 2 жыл бұрын
Thanks for your feedback it is much appreciated
@csgs13
@csgs13 2 жыл бұрын
Hii sir At 12:20 secs we are rerunning terraform init because we added extra resources in you code Or we destroy the resources
@akhilsantosh3342
@akhilsantosh3342 Жыл бұрын
You will definitely deserve more than this man.
@RahulWagh
@RahulWagh Жыл бұрын
Cheers akhil
@ElCanalDeJoshOfficial
@ElCanalDeJoshOfficial 3 жыл бұрын
You are doing a very great job mate with these videos. Thanks!
@RahulWagh
@RahulWagh 2 жыл бұрын
glad to hear that
@rishabhsingh1768
@rishabhsingh1768 Жыл бұрын
amazing videos @rahul very easy to understand
@supun_sandaruwan
@supun_sandaruwan 3 ай бұрын
Great content, Very clear explanation. Thank you sir ❤ Keep it up. Now I am going to watch all your terraform playlist 🔥
@RahulWagh
@RahulWagh 3 ай бұрын
You are most welcome
@prathmeshmohite7653
@prathmeshmohite7653 2 жыл бұрын
Very good clarification. Thanks for sharing with us. Waiting for your next videos.
@RahulWagh
@RahulWagh 2 жыл бұрын
More to come!
@peterg5497
@peterg5497 2 жыл бұрын
Great Explanation Sir!
@RahulWagh
@RahulWagh 2 жыл бұрын
Glad you liked it
@kirangosavi466
@kirangosavi466 Жыл бұрын
Simply awesome, please keep it up 😊
@RahulWagh
@RahulWagh Жыл бұрын
Thanks a lot 😊
@blessingjennifer24
@blessingjennifer24 2 жыл бұрын
Very explained. Thanks
@RahulWagh
@RahulWagh 2 жыл бұрын
Glad it was helpful!
@praveenbhogade
@praveenbhogade 3 жыл бұрын
Thanks for another amazing learning session :)
@RahulWagh
@RahulWagh 3 жыл бұрын
You are welcome
@ravib6639
@ravib6639 2 жыл бұрын
The way of explanation very nice.. could you please share the videos azure with terraform also...
@RahulWagh
@RahulWagh 2 жыл бұрын
Yes, soon
@forexmeter3900
@forexmeter3900 2 жыл бұрын
Very well explained!
@6699anish
@6699anish 11 ай бұрын
@Rahul wagh, Thanks for the wonderful session.... Since I am new to this field having this doubt, If we are using an existing bucket for storing state files, How the terraform is getting permission to write on this S3. IS there any separate configuration needed for this?
@AtreyaNadig
@AtreyaNadig 5 ай бұрын
Make videos on terraform to create resources in multi regions and maintaining state files dynamically in local machine
@zerokneospark7363
@zerokneospark7363 Ай бұрын
Could we create S3 bucket in Terraform code itself and give depends_on to create "backend" and other resources
@ratnachitluri748
@ratnachitluri748 2 жыл бұрын
Can you pls share the steps for migrating the state from some given S3 location to some other location
@DanielWeikert
@DanielWeikert 2 жыл бұрын
When I run terraform state pull it does not update my main.tf file? Isn' t it like git? I would have assumed that i have as an example an empty main.tf file and with the pull I would istantly get the update with all resources in the main.tf as well? Thanks
@naikodichaitanya
@naikodichaitanya 25 күн бұрын
hi rahul , only statefile is store in s3 . how about main.tf . if i lost the main.tf . is any there way to recover from the .tfstate. how about realtime when it comes to main.tf ?
@galleon8129
@galleon8129 6 ай бұрын
What if you want to create a new resource that has a different ami values resource id’s that are not yet existing in AWS using Terraform? I ask because there’s no point reusing details of existing AWS resources like EC2 instances.
@balarampaira
@balarampaira 2 жыл бұрын
Thank you sir for the amazing video, I have one question if by mistake delete the tfstate file then is it possible to recover it?
@RahulWagh
@RahulWagh 2 жыл бұрын
Well its really impossible to recover unless you have it somewhere on version control or remote location s3
@shilashm5691
@shilashm5691 2 жыл бұрын
You can do using backup file🤥
@novemberPrincess1109
@novemberPrincess1109 Жыл бұрын
Hi, I have a doubt, i am trying to do minor version upgrade for aurora rds postgres engine via terraform, am faing an error which says InvalidDBClusterStateFault:Cluster cannot be deleted, it still contains DB instances in non-deleting state. could you please share steps to upgrade minor version of aurora rds postgres engine via terraform. Kindly Assist. Thank you in advance!
@jwood9799
@jwood9799 2 жыл бұрын
Great video! Thanks!
@RahulWagh
@RahulWagh 2 жыл бұрын
You're welcome!
@bhanuprakashssit
@bhanuprakashssit Жыл бұрын
thank you so much very nicely explained
@RahulWagh
@RahulWagh Жыл бұрын
You are most welcome
@kushelg6286
@kushelg6286 3 жыл бұрын
Very helpful. Thank you.
@akshaykadam8233
@akshaykadam8233 Жыл бұрын
Hi @RahulWagh if i have not created azure resources using terraform and now team wants me to destroy all resources using terraform. what command i need to execute can i run terraform destroy command directly or i need to first run terraform init, terraform plan, terraform validate and finally terraform destroy? could you please guide me on this?
@shubhamkumar-ym5cq
@shubhamkumar-ym5cq 2 жыл бұрын
great work sir , plz bring circleci tutorials also...
@RahulWagh
@RahulWagh 2 жыл бұрын
In will try my best to prepare something around circle ci
@senthilkumar5129
@senthilkumar5129 Жыл бұрын
Well Done grate explanation
@RahulWagh
@RahulWagh Жыл бұрын
You are welcome
@ptalukder
@ptalukder 2 жыл бұрын
Love your videos thank you
@RahulWagh
@RahulWagh 2 жыл бұрын
Thanks for watching!
@Ashok_vlogs18
@Ashok_vlogs18 8 ай бұрын
Sir please make a dedicated video on GITLAB CICD
@RahulWagh
@RahulWagh 8 ай бұрын
Sure
@gocrow23
@gocrow23 2 жыл бұрын
Really great video tutorial! May I request you to include spinning a VM in Azure using TF automation, how to merge two state file at remote backend codebase, etc. if possible!! Thanks!
@RahulWagh
@RahulWagh 2 жыл бұрын
Well merging terraform state file does not sound a good idea, in any case the merging of terraform state file should be avoided
@gocrow23
@gocrow23 2 жыл бұрын
@@RahulWagh Thanks for the reply, such meaningful scenario based learnings helps beginners a lot. Pls try to make using Azure services if possible.
@MunnaK022
@MunnaK022 2 жыл бұрын
Helpfull video sir
@RahulWagh
@RahulWagh 2 жыл бұрын
Keep watching
@pareshmarathe334
@pareshmarathe334 2 жыл бұрын
It helped me a lot. Cant thanks enough..!
@RahulWagh
@RahulWagh 2 жыл бұрын
You are welcome
@vamsitravelworld
@vamsitravelworld 2 жыл бұрын
Please help to fix this issue: Initializing Terraform Cloud... ╷ │ Error: Invalid legacy provider address │ │ This configuration or its associated state refers to the unqualified │ provider "aws". │ │ You must complete the Terraform 0.13 upgrade process before upgrading to │ later versions. ╵ Operation failed: failed running terraform init (exit 1)
@sunilkumar-jt9nh
@sunilkumar-jt9nh 2 жыл бұрын
It’s helpful for devops Guys
@RahulWagh
@RahulWagh 2 жыл бұрын
Glad you liked it
@shreedharbatthad4714
@shreedharbatthad4714 Жыл бұрын
one word god of terraform
@RahulWagh
@RahulWagh Жыл бұрын
Happy to share the knowledge
@mimathew1
@mimathew1 11 ай бұрын
Good presentation
@RahulWagh
@RahulWagh 11 ай бұрын
So nice of you
@ashwindhaka5433
@ashwindhaka5433 8 ай бұрын
Can I used same terraform state file to create resources in different regions. Pl answer Thanks in advance. 🙏
@RahulWagh
@RahulWagh 8 ай бұрын
Yes but why you wanna do that
@ashwindhaka5433
@ashwindhaka5433 8 ай бұрын
@@RahulWagh Thanks for reply , This question was asked in an interview If it is possible please answer 2-3 lines.
@ravindraperisetla4904
@ravindraperisetla4904 2 жыл бұрын
Please create a video on Null resource in Terraform
@RahulWagh
@RahulWagh 2 жыл бұрын
It is in my pipeline you will soon see it on my channel
@naveedali33
@naveedali33 Жыл бұрын
Keep going sir
@RahulWagh
@RahulWagh Жыл бұрын
You welcome
@Rahul-ik4fd
@Rahul-ik4fd 2 ай бұрын
Can we save the multiple versions of terraformstate file remotely?
@RahulWagh
@RahulWagh 2 ай бұрын
Yes you can save remotely
@aleemshariff8551
@aleemshariff8551 Жыл бұрын
Hello Rahul, Your videos are very helpful. Thanks alot. I am getting the below error while trying to add terraform.tfstate file to the S3 bucket. Error: error configuring S3 Backend: no valid credential sources for S3 Backend found. Hope you can help me with this. :)
@famorotitomike5982
@famorotitomike5982 Жыл бұрын
I got the same error message. How did you fix it?
@rmaheshkannan1768
@rmaheshkannan1768 3 жыл бұрын
Thank you sir. 🙏
@subhajyotidas7833
@subhajyotidas7833 Жыл бұрын
great video
@RahulWagh
@RahulWagh Жыл бұрын
Thanks for the visit
@ponnagantichandu4633
@ponnagantichandu4633 2 жыл бұрын
How to copy local jar file into kubernates pod using terraform script
@RahulWagh
@RahulWagh 2 жыл бұрын
But why you wanna copy manually to k8s pod ?
@ponnagantichandu4633
@ponnagantichandu4633 2 жыл бұрын
@@RahulWagh I need to achieve automation in terraform itself so that I can use only terraform script
@ananthakalyani5838
@ananthakalyani5838 2 жыл бұрын
Can u please make a video terraform azure
@RahulWagh
@RahulWagh 2 жыл бұрын
I will add it into my todo list
@ananthakalyani5838
@ananthakalyani5838 2 жыл бұрын
@@RahulWagh thank you so much
@sandeepsastry3123
@sandeepsastry3123 2 жыл бұрын
I do not think terraform plan will create or update the state file. Its the terraform apply that changes the state file.
Почему Катар богатый? #shorts
0:45
Послезавтра
Рет қаралды 2 МЛН
Непосредственно Каха: сумка
0:53
К-Media
Рет қаралды 12 МЛН
Managing Terraform State Files
15:18
Spacelift
Рет қаралды 3,3 М.
What is Terraform null_resource and how to use it? - Part-21
19:10
Terraform Remote Backend with AWS S3
17:53
Sanjeev Thiyagarajan
Рет қаралды 22 М.
Terraform debugging and Validation
7:55
Rahul Wagh
Рет қаралды 10 М.
8 Terraform Best Practices that will improve your TF workflow immediately
8:57
What are terraform Provisioners? - Part 7
22:01
Rahul Wagh
Рет қаралды 33 М.
Why You NEED To Learn Terraform | Practical Tutorial
27:33
Travis Media
Рет қаралды 142 М.
Terraform Remote State Backend using S3 and DynamoDB
15:33
Cloud Champ
Рет қаралды 18 М.