Рет қаралды 12,611
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.