I don't think any online courses or even books provide such an in-depth knowledge in a common language and a simple methodology as you do. Thank you sir 😊
Got a devops interview tomorrow. Saw free code camps learn teraform in 2 hours, aint nobody got time for dat. Our boy John getting it done in 45 minutes! Lets hope I get the job tomorrow!
Hi John, just starting with Terraform and compare it against ARM + PowerShell. You absolutely nailed it with your video. One question that came to my mind was what you think about to always do a "terraform refresh" before you execute a terraform plan/apply to avoid config drifts in state file? This would give you and the customers departments and so on the "freedom" to even use other tools like the Portal, but always have the latest infrastructure state in your terraform state file.
The issue is a refresh is not perfect and also since it’s declarative if you made a change somewhere else then reapplied the config (assuming refresh did detect the change) then it will put it back per the tf file desired state. If you wanted to change it outside tf you would be better not doing refresh however then you get into inconsistency. Basically the guidance is if you are going to use tf then you need to only use tf :)
I have a question regarding key vault and password storing. I want to use random generator inside Terraform resource and save password to a key vault after initial deployment and I'm wondering if I will modify and add something later for example two new vms will existing secrets get overwritten or they will not be touched as they exist?
if you write to the same secret it would overwrite as its single value but the history of values would be stored. if you create a new secret per VM then that would not touch other values.
Perfect video on Terraform with Azure. is there any reference link/video, where we can see more information on terraform integration with devops pipelines ? or perhaps a video from you would be much appreciable. once again, thanks a lot for this video.
This is best video for beginners. this helped me so much. Thank you so much John for the session. i have one query, I have the existing infrastructure, now i want adopt terraform for future enhancements of my infra. Could you please let me know is that possible, if yes guide me correct documentation to adopt that
Awesome John! I wonder how you limit the scope of a Terraform workspace? Does it apply to the whole of my azure subscription or can I limit it to a resource group for example?
Great video yet again, I'm looking to use terraform and Azure DevOps to spin up an AKS cluster for UAT or to deploy an app to for testing an upgrade, then to tear it all down. Is this a good use of Terraform or are there better ways to achieve this? When someone pushes to a branch called UAT for an app ideally i'd like the entire DevOps pipeline to create the infrastructure needed, deploy the app to it, then remove it all. Maybe I'm being too ambitious, do people do this?
Awesome and well put together content John! When comparing using Terraform over ARM templates, I’m curious as to whether you would consider Terraform more of a DSC tool rather than deployment-specific tool from an Azure perspective in the case where changes to the deployed infrastructure or service WILL undergo changes from other teams via portal or other imperative means. From what I’ve gathered from your video, if imperative changes are being made using other tools, then using terraform will create issues because of the environment not matching the terraform configuration (config drift) - Can you confirm this? Thanks!
Today I still think of Terraform more around the resource management, i.e. management plane of resources across many providers rather than deep configuration inside actual guest OS instances. For DSC inside guest I still think PowerShell, Chef, Ansible etc. And yes if you go Terraform you need to stay Terraform :-) Trying to modify things outside will cause confusion.
I don't think any online courses or even books provide such an in-depth knowledge in a common language and a simple methodology as you do. Thank you sir 😊
Glad it’s useful. Thank you for watching.
This was FANTASTIC. I am just now getting into Terraform and this has helped so much to just understand how things work. THANK YOU FOR WHAT YOU DO!
Glad it helped.
Got a devops interview tomorrow. Saw free code camps learn teraform in 2 hours, aint nobody got time for dat. Our boy John getting it done in 45 minutes! Lets hope I get the job tomorrow!
Lol good luck!!!!
As always , you are AMAZING sir ! Your videos are the first and single source of true information.
Very kind, thank you.
Very well explained. I have looked lot of videos but no information in so much details
You are very welcome
best tutorial on terraform i have seen so far...thanks
Glad it was useful. Thanks
Just the right amount of detail - thanks!
Your Azure videos are the best! Thanks so much for making learning so interesting and easy to absorb.
That is very kind, thank you
Extremely useful John, started learning Terraform for a project and this helps set the foundations, great work thanks!!
Great to hear!
@@NTFAQGuy Can the next one be around ARM Templates, the basics, because it's a rare thing.
Another awesome introduction John! Thank you so much for this.
John you absolute legend! Everything I want to know about cloud tech and you have it covered in a video :) you are appreciated!
Glad to help!
John, you are awesome! Learning so much from you!
Excellent video, Just grabbed terraform knowledge within an hour 👏
Thanks so much for making learning so interesting.
Thank you very much you give a great introducction for a variables and outputs files and also the used of data.
Great explanation...looking forward for more on terraform John thank you
Very Very useful, nothing complicated and stick to basic. Thanks a lot
Thanks for watching.
Thank you so much for sharing your insights and your knowledge, John, your content is invaluable and very helpful!
I appreciate that!
Thanks again for the awesome content m8!
unparalleled!! By following your videos, I always find what I need. Thanks, John.
Thank you.
Great insightful session for beginners. Thank you so much John!. Your videos are always inspiring me.
Glad you like them!
Very well structured information, Thanks a Ton!!!
Welcome!
Really good to see such a clear presentation; thank you!
enjoying this video for today learning, thanks a lot! .
You are welcome!
Thank you ever so much for your amazing explanations! Time to terraform!
Really helpful. Another masterpiece. Thanks a lot
Glad it was helpful!
Splendid ! Thanks John..very helpful
Great!
The goat is doing magic again 🔥
Lol thanks 😃
Nicely done again John.
Thank you
This was super useful! Thank you!
Glad it was helpful!
perfect layout and presentation!
Thanks so much!
thank you sir! great content
Very basic and useful. Thanks, John :)
Thanks
merci John. Perfect as usual.
Another great video that helped me to get into the topic. Very well done!
Thank you!
Thanks a lot :-) , its pretty clear to work with implementation of Azure Infra using Terraform ..have a great day :-)
Thanks, you too!
Great job!!
Very well explained, precise to the point 👍🏼
Thank you!
Hi John,
just starting with Terraform and compare it against ARM + PowerShell. You absolutely nailed it with your video. One question that came to my mind was what you think about to always do a "terraform refresh" before you execute a terraform plan/apply to avoid config drifts in state file? This would give you and the customers departments and so on the "freedom" to even use other tools like the Portal, but always have the latest infrastructure state in your terraform state file.
The issue is a refresh is not perfect and also since it’s declarative if you made a change somewhere else then reapplied the config (assuming refresh did detect the change) then it will put it back per the tf file desired state. If you wanted to change it outside tf you would be better not doing refresh however then you get into inconsistency. Basically the guidance is if you are going to use tf then you need to only use tf :)
Super helpful - Thank you so much !! #StayBlessednHappy
This is very helpful. Thank you for your time and effort!
Great to hear, thank you.
Awesome 👍🏼
Thanks 👍
Thanks John mate 👍
Pleasure!
Thank you, Dude. You've helped me a lot!)))
Awesome
I have a question regarding key vault and password storing. I want to use random generator inside Terraform resource and save password to a key vault after initial deployment and I'm wondering if I will modify and add something later for example two new vms will existing secrets get overwritten or they will not be touched as they exist?
if you write to the same secret it would overwrite as its single value but the history of values would be stored. if you create a new secret per VM then that would not touch other values.
Perfect video on Terraform with Azure.
is there any reference link/video, where we can see more information on terraform integration with devops pipelines ?
or perhaps a video from you would be much appreciable.
once again, thanks a lot for this video.
I'll work on that. :-) Hopefully will upload something in next week or so.
@@NTFAQGuy I'd really love to to see an example on how to integrate that into source control and automated deployment pipelines.
@@NTFAQGuy Hi John, can you pls share the link for terraform integration with devops pipelines if ready... thanks in advance.
Amazing thank you so much for this!
Glad it helps!
Please help . I am not able to import my configuration of WVD already deployed using terraform import
This is best video for beginners. this helped me so much. Thank you so much John for the session. i have one query, I have the existing infrastructure, now i want adopt terraform for future enhancements of my infra. Could you please let me know is that possible, if yes guide me correct documentation to adopt that
You can import existing resources into the terraform state. www.terraform.io/docs/state/import.html is a start. Thanks
@@NTFAQGuy Thank you for your quick response. i will check
very helpful.
Thanks!
Awesome John! I wonder how you limit the scope of a Terraform workspace? Does it apply to the whole of my azure subscription or can I limit it to a resource group for example?
Whatever permissions the account it runs as has
@@NTFAQGuy Thanks John!
Great video yet again, I'm looking to use terraform and Azure DevOps to spin up an AKS cluster for UAT or to deploy an app to for testing an upgrade, then to tear it all down. Is this a good use of Terraform or are there better ways to achieve this? When someone pushes to a branch called UAT for an app ideally i'd like the entire DevOps pipeline to create the infrastructure needed, deploy the app to it, then remove it all. Maybe I'm being too ambitious, do people do this?
Great idea, thats an awesome use for terraform. It can trigger on commit on the new version of the app.
is there any video of using Terraform using azure devops ?
Awesome and well put together content John! When comparing using Terraform over ARM templates, I’m curious as to whether you would consider Terraform more of a DSC tool rather than deployment-specific tool from an Azure perspective in the case where changes to the deployed infrastructure or service WILL undergo changes from other teams via portal or other imperative means. From what I’ve gathered from your video, if imperative changes are being made using other tools, then using terraform will create issues because of the environment not matching the terraform configuration (config drift) - Can you confirm this? Thanks!
Today I still think of Terraform more around the resource management, i.e. management plane of resources across many providers rather than deep configuration inside actual guest OS instances. For DSC inside guest I still think PowerShell, Chef, Ansible etc. And yes if you go Terraform you need to stay Terraform :-) Trying to modify things outside will cause confusion.
I am a Simple Man. I unsubscribe Pluralsight and just follow John Savill TH-cam channel
LOL thats dope
Should we abandon ARM and go with Terraform?
If you are just azure I would go to bicep. I just created video on that
@@NTFAQGuy , I saw couple of vidoes oh Pulumi and was impressed as I have a programming background. Any thoughts on that?