Terraform Providers

Terraform Providers

Terraform Providers

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

In the last blog post, we have discussed how to install Terraform in AWS EC2 instance and also created our 1st AWS resource using Terraform.

https://cloudaffaire.com/how-to-install-terraform-in-aws-ec2/

In this blog post, we will discuss terraform providers.

What is Terraform provider?

Providers are responsible in Terraform for managing the lifecycle of a resource: create, read, update, delete. Most providers require some sort of configuration to provide authentication information, endpoint URLs, etc. Terraform has multiple providers like AWS, Azure, GCP and VMWARE etc.

When a provider is used for the 1st time, you must execute terraform init to initialize the provider. Terraform init command downloads the provider-specific packages which are used to manage resource lifecycle.

Provider Syntax:

Provider demo:

Hope you have enjoyed this article. In the next blog post, we will discuss terraform resources.

To get more details on terraform, please refer below terraform documentation

https://www.terraform.io/docs/index.html

 

Leave a Reply

Close Menu