Introduction
When you want to create resources on Amazon Web Services using Terraform, you need to tell Terraform how to connect to AWS. The AWS provider setup is the way to configure this connection so Terraform can manage your cloud resources.
When you want to create a virtual server (EC2 instance) on AWS using Terraform.
When you need to manage AWS storage like S3 buckets with Terraform.
When you want to automate AWS network setup like VPCs and subnets.
When you want to keep your AWS infrastructure as code for easy updates and version control.
When you want to use Terraform to deploy AWS Lambda functions or other services.