Providers

▪ Plugins Terraform uses to manage the resources

▪ Providers expose resources for specific infrastructure platform (e.g. AWS)

Responsible for understanding API of that platform

▪ Just code that knows how to talk to specific technology or platform

Provision AWS EC2 Instance Using Terraform

Create a working directory for this Terraform demo.

Go to the directory and create a terraform configuration file where you define the provider and resources to launch an AWS EC2 instance.

terraform init

Now, the first step is to initialize terraform.

Last updated