Day 3 : Understanding Providers and Resources in Terraform with Hands On tutorial

  Рет қаралды 12,611

Cloud Champ

Cloud Champ

Күн бұрын

What is Provider in terraform | Providers and Resources block in Terraform | Terraform Resource
In this Day 3 Terraform Tutorial for beginners we will learn what is Provider Block, How to use and install Provider in terraform code, creating Resource in Terraform with Hands on Project, also how to use alias in Terraform providers and more.
In this hands on Terraform video we learn how to create ec2 instance resource in aws using Terraform and also how to create Github repository using Terraform.
Terraform Providers list: registry.terraform.io/browse/...
Terraform Provider Official Documentation: developer.hashicorp.com/terra...
Github Link: github.com/N4si/terraform_bas...
Connect with me on LinkedIn: / nasiullha-chaudhari
What are providers in terraform?
1. Providers: Providers in Terraform are plugins that interface with different infrastructure platforms. They allow you to define and manage resources within those platforms using Terraform. You can configure providers in your Terraform code to specify the authentication details, regions, and other settings specific to the platform you are working with.
What are Resources in Terraform?
1. Resources: Resources in Terraform represent the infrastructure objects you want to manage. They are defined using resource blocks and specify the desired state of the resource and its configuration. Each resource type has its own set of attributes that define the properties, settings, and relationships of the resource. When you apply your Terraform configuration, Terraform compares the desired state with the current state of the resources and takes actions to create, update, or delete resources as needed.
By understanding providers and resources, you can effectively leverage Terraform to provision and manage infrastructure resources across different platforms, following the infrastructure as code approach.
After watching this video you will learn Providers properly and be able to create Resources in different cloud Providers
Timestamp:
Intro 0:00
What is Provider 01:08
Defining AWS Provider 01:38
Creating AWS EC2 instance using Terraform 07:20
Defining Github Provider 12:55
Creating token for Github 13:23
Creating Github Repository using Terraform 14:53
Terraform Provider alias 17:10
Hands on Challenge 18:57
Learn Providers in Terraform and how to create Resources in Terraform through this video. Terraform provider blocks are defined to select the providers and get API access, you can also define terraform provider version and install them using init command after you have declared them in terraform code.
Checkout the following Links
Terraform Complete Playlist: • Terraform Full Course:...
How to create EC2 using Terraform: • How to create Amazon E...
How to create Security groups using Terraform: • How to Create AWS Secu...
How I passed my Terraform Certification: • How I passed my Hashic...
How I earn Money as a DevOps Freelancer: • How I make money remot...
Day 1: Terraform 101: • Day 1 : Terraform exp...
Day 2: Master Terraform syntax: • Day 2: Master HCL synt...
Learn Terraform in just 60 mins: • Master Terraform in 60...
Cloudchamp is your favourite KZbin channel to learn Devops and cloud. The motive of this channel is to help people learn Devops tools and technologies along with sharing my learnings on Terraform, Ansible, AWS, other DevOps tools and Freelancing.

Пікірлер: 69
@supriyochatterjee4095
@supriyochatterjee4095 Жыл бұрын
Excellent information, concepts are so well explained, keep making more and more videos on all kinds of scenarios for AWS and Terraform Architecture
@cloudchamp
@cloudchamp Жыл бұрын
So glad to find out that my contribution is helping the community 😀 Thank you 🙏
@ronitgandhi7716
@ronitgandhi7716 Жыл бұрын
Really good content. I regret not finding your channel when i started devops/cloud learning 2 months back. But I am really glad my friend gave me a link of your vid. And really as per your teaching its clearly visible that you have a great knowledge in cloud and very good passion for educating community. Keep up the good content!❤️
@cloudchamp
@cloudchamp Жыл бұрын
Great to hear Ronit! Thanks for all the support mikey 🤝
@chandangowda6935
@chandangowda6935 11 ай бұрын
Yesterday I wans not knowing how to use terraform, today i created repo using terraform. Many thanks to you brother for making such a wonderful video
@cloudchamp
@cloudchamp 11 ай бұрын
You are welcome 🤗
@mahalingamp2450
@mahalingamp2450 Жыл бұрын
Expected this yesterday,anyhow you made it today,Thanks for your effort bro
@cloudchamp
@cloudchamp Жыл бұрын
Sorry for the delay I stayed up late to complete this 💯
@viral_shortsviralshorts
@viral_shortsviralshorts Жыл бұрын
You teach things so easily ❤
@cloudchamp
@cloudchamp Жыл бұрын
Thank you!! Means a lot!!
@workwithmayuresh
@workwithmayuresh 10 ай бұрын
@CloudChamp - That was Awesome and Crisp bro ! Loved it ❤
@cloudchamp
@cloudchamp 10 ай бұрын
Thank you Mayuresh 😊
@saiprasad7879
@saiprasad7879 Жыл бұрын
Thanks a lot eager to learn more ....
@cloudchamp
@cloudchamp Жыл бұрын
Most welcome Sai! 😃 Do share and support
@abigailsackey1800
@abigailsackey1800 10 ай бұрын
Great tutorial! 👍
@cloudchamp
@cloudchamp 10 ай бұрын
Glad you liked it!
@powerplusgaming6176
@powerplusgaming6176 2 ай бұрын
when we create another instance using alias, the another region's instance AMI would be different right....then how the instance in other region created?
@vyshnavijetti6082
@vyshnavijetti6082 6 ай бұрын
It’s a very interesting video. I enjoyed it. But I have every time when we trying to create ec2 instance if we need get ami . It gonna waste a lot of time though..?
@vinothangam1
@vinothangam1 7 ай бұрын
hi how to connect aws to cli that you are using. Thanks for the effort!
@elarsaks9476
@elarsaks9476 6 ай бұрын
Great videos!
@cloudchamp
@cloudchamp 6 ай бұрын
Glad you like them!
@manishalankala1622
@manishalankala1622 Жыл бұрын
Multiple provider blocks example may be next video
@guillaumekobina6195
@guillaumekobina6195 Ай бұрын
you are the best
@cloudchamp
@cloudchamp Ай бұрын
Thanks ☺️
@gamingchamp3070
@gamingchamp3070 Жыл бұрын
Amazing video
@cloudchamp
@cloudchamp Жыл бұрын
Thanks for the visit
@shaktirajsinhzala4588
@shaktirajsinhzala4588 Жыл бұрын
Yes, please provide video on how to connect aws with terraform.
@cloudchamp
@cloudchamp Жыл бұрын
Sure noted will create a video on that
@shaktirajsinhzala4588
@shaktirajsinhzala4588 Жыл бұрын
@@cloudchamp Thank you in advance, Currently I'm a software engineer intern, and as part of one of my development project got to know about terraform. And now want to learn technologies and want to become a devops person :)
@mazensayyed3489
@mazensayyed3489 Жыл бұрын
Excellent bro...
@cloudchamp
@cloudchamp Жыл бұрын
Thanks mazen
@krakesh2003in
@krakesh2003in 11 ай бұрын
Excellent Bro 👍
@cloudchamp
@cloudchamp 11 ай бұрын
Thanks 🙏
@ARainWhisper
@ARainWhisper Жыл бұрын
Thanks for sharing. Is it possible to store the Terraform configuration files in S3 bucket via local-exec or backend configuration? What is the best practice?
@cloudchamp
@cloudchamp Жыл бұрын
We can store the terraform state file on S3 using backend the code is or the configuration is usually stored on GitHub 👍🏻
@faizullahpathan2396
@faizullahpathan2396 Жыл бұрын
Good 👍
@cloudchamp
@cloudchamp Жыл бұрын
Thank you Bhai 😀
@PoonamSharma0623
@PoonamSharma0623 2 ай бұрын
Can you make video on mac terraform setup for beginners. plz it would be helpful.
@rex-dj5cu
@rex-dj5cu Жыл бұрын
When we write terraform plan then it goes to AWS cloud and check resources and then create state file?
@cloudchamp
@cloudchamp Жыл бұрын
When you run terraform plan, Terraform first checks the state file to determine the current state of resources, then it compares that with the desired state defined in your configuration, generating a plan to achieve the desired state without making actual changes to the AWS account.
@premierde
@premierde 3 ай бұрын
Where can I watch your Terraform Template templatefile function tutorial👨‍🏫📓
@amdtoon
@amdtoon Жыл бұрын
Does terraform provision resources or attributes in any particular order? Or it's all at once?
@cloudchamp
@cloudchamp Жыл бұрын
No particular order as such. But Terraform creates 10 resources parallely at a time but you can change the order using a depends_on argument which we will learn later 👍🏻
@ramrushendra9140
@ramrushendra9140 11 ай бұрын
i see you applies tags but how come the name got created as helloworld,where i am not able to create it .when i create an instance in tags i see name="given name by me" but how come you got the name over there ?
@ramrushendra9140
@ramrushendra9140 11 ай бұрын
Never Mind i used name instead of Name in tags block
@nilavasen8631
@nilavasen8631 Жыл бұрын
Hello, very nice explanation. Can you please tell me how is the job market today of Terraform in India? Can I crack a job by only learning TF and git ?
@cloudchamp
@cloudchamp Жыл бұрын
Terraform is important but you cannot get job by just learning Terraform and git. You need other things too
@gabrielvidovic8491
@gabrielvidovic8491 Жыл бұрын
Bro, How many videos do you plan to complete this course?
@cloudchamp
@cloudchamp Жыл бұрын
7-8 videos
@deva_2022
@deva_2022 11 ай бұрын
Nice teaching bro , after ec2 creation unable to login, network error. Why it happenz ?
@cloudchamp
@cloudchamp 11 ай бұрын
Check security group
@gymvideos2809
@gymvideos2809 Жыл бұрын
can u explain about how to install tomcat in server, I'm beginner.
@cloudchamp
@cloudchamp Жыл бұрын
What operating system are you using?
@gauravsinghjethuri5405
@gauravsinghjethuri5405 Жыл бұрын
If you raise this series to the advance level only then it will help the folks. Because beginner stuff is a lot on youtube.
@cloudchamp
@cloudchamp Жыл бұрын
Sure will cover advance topics too, basic to advance
@aravindhan1367
@aravindhan1367 10 ай бұрын
How to connect with AWS Configure brother?
@cloudchamp
@cloudchamp 10 ай бұрын
Have a separate video explaining exactly that check the playlist bro
@Salma-Sadiq
@Salma-Sadiq Жыл бұрын
Providing training
@ashwinichivate3905
@ashwinichivate3905 Жыл бұрын
Provide video how to connect terraform with AWS.
@cloudchamp
@cloudchamp Жыл бұрын
Sure 💯
@datascience4336
@datascience4336 3 ай бұрын
I saw ur Day 2 video and same in Day 3 you are doing the same mistake . You are just not give the right path as ur not doing here. nither u are telling to install terafform , nither showing us hoe to create access and secrte key
@marianodangelo8220
@marianodangelo8220 3 ай бұрын
You should create an Udemy course
@cloudchamp
@cloudchamp 3 ай бұрын
I should?
@rohitm958
@rohitm958 11 ай бұрын
bro please go slow bit, its too fast to conceptualize, even though ur teaching is sound due to your speed its hard to generalize the concepts.
@cloudchamp
@cloudchamp 11 ай бұрын
Noted
@looksmatteronly
@looksmatteronly Жыл бұрын
How long it takes to realistically be comfortable with DevOps?
@cloudchamp
@cloudchamp Жыл бұрын
6 months to 1 year atleast
@looksmatteronly
@looksmatteronly Жыл бұрын
@@cloudchamp how long you've been studying it a day?
Day 4 : Terraform Variables and Outputs Tutorial
22:56
Cloud Champ
Рет қаралды 11 М.
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 42 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 59 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 5 МЛН
Day 2: Master HCL syntax and Learn how to write Terraform Code
19:01
The Shocking Truth About Getting a DevOps Job in Just 6 Months!
4:40
Devops With Mike
Рет қаралды 7 М.
8 Terraform Best Practices that will improve your TF workflow immediately
8:57
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 42 МЛН