@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?
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!
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 ?
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
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?
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.
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!
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. :)
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)
your teaching style is excellent, to the point, no waste of time. I just like your style ... Thanks
I appreciate that!
this is the best explanation i ever seen. your explaining slowly and clearly in detailed
Thanks for your feedback it is much appreciated
You will definitely deserve more than this man.
Cheers akhil
Great content, Very clear explanation. Thank you sir ❤ Keep it up. Now I am going to watch all your terraform playlist 🔥
You are most welcome
amazing videos @rahul very easy to understand
You are doing a very great job mate with these videos. Thanks!
glad to hear that
Very explained. Thanks
Glad it was helpful!
Very good clarification. Thanks for sharing with us. Waiting for your next videos.
More to come!
Simply awesome, please keep it up 😊
Thanks a lot 😊
Great Explanation Sir!
Glad you liked it
Hii sir
At 12:20 secs we are rerunning terraform init because we added extra resources in you code
Or we destroy the resources
Thanks for another amazing learning session :)
You are welcome
@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?
The way of explanation very nice.. could you please share the videos azure with terraform also...
Yes, soon
Great video! Thanks!
You're welcome!
Make videos on terraform to create resources in multi regions and maintaining state files dynamically in local machine
Very well explained!
great work sir , plz bring circleci tutorials also...
In will try my best to prepare something around circle ci
Love your videos thank you
Thanks for watching!
Well Done grate explanation
You are welcome
thank you so much very nicely explained
You are most welcome
Good presentation
So nice of you
Keep going sir
You welcome
one word god of terraform
Happy to share the knowledge
Sir please make a dedicated video on GITLAB CICD
Sure
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?
Well its really impossible to recover unless you have it somewhere on version control or remote location s3
You can do using backup file🤥
It’s helpful for devops Guys
Glad you liked it
Helpfull video sir
Keep watching
Can you pls share the steps for migrating the state from some given S3 location to some other location
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!
Well merging terraform state file does not sound a good idea, in any case the merging of terraform state file should be avoided
@@RahulWagh Thanks for the reply, such meaningful scenario based learnings helps beginners a lot. Pls try to make using Azure services if possible.
Very helpful. Thank you.
great video
Thanks for the visit
It helped me a lot. Cant thanks enough..!
You are welcome
Please create a video on Null resource in Terraform
It is in my pipeline you will soon see it on my channel
Could we create S3 bucket in Terraform code itself and give depends_on to create "backend" and other resources
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 ?
Thank you sir. 🙏
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
Can we save the multiple versions of terraformstate file remotely?
Yes you can save remotely
Can I used same terraform state file to create resources in different regions. Pl answer Thanks in advance. 🙏
Yes but why you wanna do that
@@RahulWagh Thanks for reply , This question was asked in an interview If it is possible please answer 2-3 lines.
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?
Can u please make a video terraform azure
I will add it into my todo list
@@RahulWagh thank you so much
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.
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!
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. :)
I got the same error message. How did you fix it?
How to copy local jar file into kubernates pod using terraform script
But why you wanna copy manually to k8s pod ?
@@RahulWagh I need to achieve automation in terraform itself so that I can use only terraform script
I do not think terraform plan will create or update the state file. Its the terraform apply that changes the state file.
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)